diff --git a/.gitignore b/.gitignore index c47314ad2..806ca813f 100644 --- a/.gitignore +++ b/.gitignore @@ -87,6 +87,7 @@ venv/ ENV/ env.bak/ venv.bak/ +lib/python* # Spyder project settings .spyderproject @@ -98,6 +99,12 @@ venv.bak/ # mkdocs documentation /site +bin +pyvenv.cfg +include +share +pip-selfcheck.json + # mypy .mypy_cache/ @@ -122,27 +129,17 @@ data/default.pl data/backup.pl data/debug.pl data/default_site.pl - -ssl/input.pl - -lib/python* - -bin -pyvenv.cfg -include -share -pip-selfcheck.json +data/ssl.pl scripts/init.d/mw scripts/mdserver-web data/api_login.txt data/sessions -data/ssl.pl + data/port.pl data/ipv6.pl data/restart.pl -data/ssl.pl data/edate.pl data/osname.pl data/only_netio_counters.pl @@ -156,6 +153,10 @@ data/bind_domain.pl data/unauthorized_status.pl data/auth_secret.pl +ssl/local +ssl/nginx +ssl/choose.pl + plugins/vip_* plugins/own_* plugins/my_* diff --git a/route/__init__.py b/route/__init__.py index 0d12bded5..93c15d46b 100755 --- a/route/__init__.py +++ b/route/__init__.py @@ -60,8 +60,7 @@ try: sdb.create_all() except: app.config['SESSION_TYPE'] = 'filesystem' - app.config['SESSION_FILE_DIR'] = '/tmp/py_mw_session_' + \ - str(sys.version_info[0]) + app.config['SESSION_FILE_DIR'] = '/tmp/py_mw_session_' + str(sys.version_info[0]) app.config['SESSION_FILE_THRESHOLD'] = 1024 app.config['SESSION_FILE_MODE'] = 384