Code Cleanup
This commit is contained in:
parent
d2622e25e8
commit
fa34f8510d
13 changed files with 98 additions and 50 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue