diff options
author | morpheus65535 <[email protected]> | 2017-12-22 22:40:14 -0500 |
---|---|---|
committer | morpheus65535 <[email protected]> | 2017-12-22 22:40:14 -0500 |
commit | 4a6c2e8e230243c4ef5c865d7732fcc4dbb462c9 (patch) | |
tree | 73593ab1e011558d09c581f314445f057a43b2e9 /update_db.py | |
parent | cf22583c327ed1733632420f5f0270f7fb83fd8d (diff) | |
download | bazarr-4a6c2e8e230243c4ef5c865d7732fcc4dbb462c9.tar.gz bazarr-4a6c2e8e230243c4ef5c865d7732fcc4dbb462c9.zip |
Display message id restart is required and show wanted count on icon.
Diffstat (limited to 'update_db.py')
-rw-r--r-- | update_db.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/update_db.py b/update_db.py index 7b757e187..f5d0912ee 100644 --- a/update_db.py +++ b/update_db.py @@ -25,6 +25,12 @@ if os.path.exists(os.path.join(os.path.dirname(__file__), 'data/db/bazarr.db')) except: pass + try: + c.execute('alter table table_settings_general add column "configured" "integer"') + c.execute('alter table table_settings_general add column "updated" "integer"') + except: + pass + # Commit change to db db.commit() |