Fix missing config value load and date event in box

This commit is contained in:
thooge committed 2026-10-30 13:24:42 +01:00
1 parent 8ac72e717e
commit b8ac8d0185
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -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']):