Further refactoring.

This commit is contained in:
2019-02-12 17:49:07 +01:00
parent c73b374659
commit e3bb076af6
8 changed files with 238 additions and 225 deletions

11
config.py Normal file
View File

@@ -0,0 +1,11 @@
import json
import os
def roles():
with open("roles.json", "r") as f:
return json.load(f)
class Config:
SECRET_KEY = os.environ.get("ES_SECRET_KEY")