add initial Config class, calculate config fname
This commit is contained in:
1 parent
15136b9c26
commit
2f9c4e7df8
2 files changed
+7
No files matched your search
@@ -0,0 +1,6 @@
|
|||||||
|
|
||||||
|
class Config:
|
||||||
|
def __init__(self, filename):
|
||||||
|
if os.path.isfile(filename):
|
||||||
|
f = open(filename, 'r')
|
||||||
|
eval(f, self)
|
||||||
Reference in new issue
Block a user