mirror of
https://gitlab.com/wgp/dougal/software.git
synced 2025-12-06 08:57:08 +00:00
Change address of system exports path
This commit is contained in:
@@ -36,9 +36,9 @@ if __name__ == '__main__':
|
|||||||
with db.conn.cursor() as cursor:
|
with db.conn.cursor() as cursor:
|
||||||
|
|
||||||
try:
|
try:
|
||||||
pathPrefix = survey["exports"]["path"]
|
pathPrefix = survey["exports"]["machine"]["path"]
|
||||||
except ValueError:
|
except KeyError:
|
||||||
print("Survey does not define an export path")
|
print("Survey does not define an export path for machine data")
|
||||||
continue
|
continue
|
||||||
|
|
||||||
for table in exportables:
|
for table in exportables:
|
||||||
|
|||||||
@@ -33,9 +33,9 @@ if __name__ == '__main__':
|
|||||||
with db.conn.cursor() as cursor:
|
with db.conn.cursor() as cursor:
|
||||||
|
|
||||||
try:
|
try:
|
||||||
pathPrefix = survey["exports"]["path"]
|
pathPrefix = survey["exports"]["machine"]["path"]
|
||||||
except ValueError:
|
except KeyError:
|
||||||
print("Survey does not define an export path")
|
print("Survey does not define an export path for machine data")
|
||||||
continue
|
continue
|
||||||
|
|
||||||
for table in exportables:
|
for table in exportables:
|
||||||
|
|||||||
Reference in New Issue
Block a user