diff --git a/connect.py b/connect.py index 5e39dcb40..435adf258 100755 --- a/connect.py +++ b/connect.py @@ -12,14 +12,15 @@ import signal import textwrap import django import getpass -from django.core.exceptions import ObjectDoesNotExist from Crypto.Cipher import AES from binascii import b2a_hex, a2b_hex + +from django.core.exceptions import ObjectDoesNotExist os.environ['DJANGO_SETTINGS_MODULE'] = 'jumpserver.settings' django.setup() + from juser.models import User from jasset.models import Asset -from jpermission.models import Permission try: import termios