Fix missing config value load and date event in box
This commit is contained in:
1 parent
8ac72e717e
commit
b8ac8d0185
2 files changed
+2
-1
No files matched your search
@@ -316,6 +316,7 @@ if __name__ == "__main__":
|
||||
# TODO check database schema version
|
||||
schema_required = 1
|
||||
context.load()
|
||||
context.cfg['docpath'] = config.get('Documents', 'basepath')
|
||||
context.cfg['scanner'] = config.getboolean('Documents', 'scanner')
|
||||
context.cfg['shapedir'] = config.get('Data', 'shapedir')
|
||||
if not os.path.isdir(context.cfg['shapedir']):
|
||||
|
||||
Reference in new issue
Block a user