Skip to content

Commit

Permalink
Update connect.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ibuler committed Jan 13, 2016
1 parent 66e53c2 commit 4d0331e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion connect.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
import uuid

os.environ['DJANGO_SETTINGS_MODULE'] = 'jumpserver.settings'
if django.get_version() != '1.6':
if not django.get_version().startswith('1.6'):
setup = django.setup()
from django.contrib.sessions.models import Session
from jumpserver.api import ServerError, User, Asset, PermRole, AssetGroup, get_object, mkdir, get_asset_info
Expand Down

0 comments on commit 4d0331e

Please sign in to comment.