Code Cleanup

This commit is contained in:
Robert 2020-01-08 02:26:36 +01:00
parent d2622e25e8
commit fa34f8510d
13 changed files with 98 additions and 50 deletions

View file

@ -1,10 +1,15 @@
'''
This module loads settings. Right now
it can only hold one config file at a time
'''
import json
from util import logging
filepath = ""
settings = {}
def load(file):
def load(file : str) -> bool:
global settings
filepath = file
try: