mirror of https://github.com/jumpserver/jumpserver
修改中文显示报错
parent
6d34bd45d2
commit
b1add204b6
|
@ -1,8 +1,8 @@
|
|||
sphinx-me
|
||||
django==1.6
|
||||
python-ldap
|
||||
pycrypto==2.6.1
|
||||
paramiko
|
||||
pycrypto
|
||||
ecdsa>=0.11
|
||||
MySQL-python
|
||||
django-uuidfield
|
||||
|
|
|
@ -182,7 +182,7 @@ def pages(posts, r):
|
|||
return contact_list, p, contacts, page_range, current_page, show_first, show_end
|
||||
|
||||
|
||||
def is_latest(request):
|
||||
def is_latest():
|
||||
node = uuid.getnode()
|
||||
jsn = uuid.UUID(int=node).hex[-12:]
|
||||
with open(os.path.join(BASE_DIR, 'version')) as f:
|
||||
|
|
Loading鈥
Reference in New Issue