mirror of https://github.com/jumpserver/jumpserver
parent
eb18648a66
commit
5193ba2e39
|
@ -13,7 +13,7 @@ from apps import __version__
|
||||||
try:
|
try:
|
||||||
from config import config as CONFIG
|
from config import config as CONFIG
|
||||||
except ImportError:
|
except ImportError:
|
||||||
CONFIG = type('_', (), {'__getattr__': None})()
|
CONFIG = type('_', (), {'__getattr__': lambda *arg: None})()
|
||||||
|
|
||||||
os.environ["PYTHONIOENCODING"] = "UTF-8"
|
os.environ["PYTHONIOENCODING"] = "UTF-8"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue