diff --git a/run_server.py b/run_server.py index 1a389e5eb..011453a0c 100644 --- a/run_server.py +++ b/run_server.py @@ -13,7 +13,7 @@ from apps import __version__ try: from config import config as CONFIG except ImportError: - CONFIG = type('_', (), {'__getattr__': None})() + CONFIG = type('_', (), {'__getattr__': lambda *arg: None})() os.environ["PYTHONIOENCODING"] = "UTF-8"