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)