Change address of system exports path

This commit is contained in:
D. Berge
2020-09-10 20:37:52 +02:00
parent 08656a0b5e
commit 3b5b200f08
2 changed files with 6 additions and 6 deletions

View File

@@ -33,9 +33,9 @@ if __name__ == '__main__':
with db.conn.cursor() as cursor:
try:
pathPrefix = survey["exports"]["path"]
except ValueError:
print("Survey does not define an export path")
pathPrefix = survey["exports"]["machine"]["path"]
except KeyError:
print("Survey does not define an export path for machine data")
continue
for table in exportables: