Run exports before database upgrade

This commit is contained in:
D. Berge
2020-09-02 18:58:24 +02:00
parent 0cd1b30e29
commit fb947dcf9f

View File

@@ -43,7 +43,7 @@ create_survey = os.path.join(bin_path, "create_survey.sh")
runner = "RUNNER_NOEXPORT=true RUNNER_IMPORT=true " + os.path.join(bin_path, "runner.sh")
print(system_exports)
#os.system(system_exports)
os.system(system_exports)
cmd = f"psql -U {dbuser} -d template1 -c 'DROP DATABASE {dbname};'"
print(cmd)