Make the setup process more robust against aborted executions. Fixes #3830

This commit is contained in:
Aditya Toshniwal
2018-12-21 10:30:49 +00:00
committed by Dave Page
parent f62d35bf3c
commit 943fc25f60
5 changed files with 17 additions and 8 deletions

View File

@@ -17,3 +17,8 @@ def get_version():
return -1
return version.value
def set_version(new_version):
version = Version.query.filter_by(name='ConfigDB').first()
version.value = new_version