husstanden/objects/glob.py
2019-02-12 16:59:43 +01:00

12 lines
411 B
Python

import json
# ------------------------------------------------------------------------------
# Global variables that is None by default and gets overwritten in other modules
app = None # main.py -> Flask App
# ------------------------------------------------------------------------------
# Global variables that initializes on first load of module
with open("config.json", "r") as f:
config = json.load(f)