from app.core.models._config import ConfigFile from app.core._config import CONFIG_FILE import os if not os.path.exists(CONFIG_FILE): with open(CONFIG_FILE, 'w') as f: f.write('{}') active_config = ConfigFile(CONFIG_FILE)