Fix notify_log success column name
This commit is contained in:
@@ -960,7 +960,7 @@ def dbcheck():
|
|||||||
|
|
||||||
# Upgrade notify_log table from earlier versions
|
# Upgrade notify_log table from earlier versions
|
||||||
try:
|
try:
|
||||||
c_db.execute('SELECT send_success FROM notify_log')
|
c_db.execute('SELECT success FROM notify_log')
|
||||||
except sqlite3.OperationalError:
|
except sqlite3.OperationalError:
|
||||||
logger.debug(u"Altering database. Updating database table notify_log.")
|
logger.debug(u"Altering database. Updating database table notify_log.")
|
||||||
c_db.execute(
|
c_db.execute(
|
||||||
|
Reference in New Issue
Block a user