From 49460dfb8aadc55db84c2b0438b3aded9daea444 Mon Sep 17 00:00:00 2001 From: azivner Date: Mon, 9 Oct 2017 16:55:58 -0400 Subject: [PATCH] we should probably try to work on a newer database (assuming changes are mostly additive and backwards compatible) --- src/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app.py b/src/app.py index 391a0231e..4a5907574 100644 --- a/src/app.py +++ b/src/app.py @@ -52,7 +52,7 @@ def login_form(): def show_app(): db_version = int(getOption('db_version')) - if db_version != APP_DB_VERSION: + if db_version < APP_DB_VERSION: return redirect('migration') return render_template('app.html')