fix(config): fixed pep8 lint errors

This commit is contained in:
2021-12-06 18:37:06 +01:00
parent 0ef78647fb
commit 4f5bcb0d7a

View File

@@ -1,5 +1,6 @@
import os
class Config(object):
SECRET_KEY = os.environ.get("SECRET_KEY")
if SECRET_KEY is None:
@@ -21,11 +22,13 @@ class Config(object):
SESSION_COOKIE_HTTPONLY = True
SESSION_COOKIE_SAMESITE = 'None'
class DevelopmentConfig(Config):
TESTING = True
DEBUG = True
DEVELOPMENT = True
class ProductionConfig(Config):
TESTING = False
DEBUG = False