fix(config): removed object inheritance from base class

This commit is contained in:
2021-12-06 20:51:43 +01:00
parent 2b0c7e6696
commit c10e01706a

View File

@@ -4,7 +4,7 @@ A module that is used to store the current app's config
import os
class Config(object):
class Config():
SECRET_KEY = os.environ.get("SECRET_KEY")
if SECRET_KEY is None:
raise Exception("[!!] No secret key was given")