Fix database check bug.

Some styling adjustments.
Use the proper image fallbacks.
This commit is contained in:
Tim 2015-07-10 14:04:30 +02:00
commit dcab175c18
4 changed files with 5 additions and 16 deletions

View file

@ -361,7 +361,7 @@ def dbcheck():
# Upgrade sessions table from earlier versions
try:
c.execute('SELECT started from sessions')
c_db.execute('SELECT started from sessions')
except sqlite3.OperationalError:
logger.debug(u"Altering database. Updating database table sessions.")
c_db.execute(