add initial Config class, calculate config fname
This commit is contained in:
parent
15136b9c26
commit
2f9c4e7df8
6
Config.py
Normal file
6
Config.py
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
|
||||||
|
class Config:
|
||||||
|
def __init__(self, filename):
|
||||||
|
if os.path.isfile(filename):
|
||||||
|
f = open(filename, 'r')
|
||||||
|
eval(f, self)
|
Loading…
x
Reference in New Issue
Block a user