mirror of
https://github.com/JonathanHerrewijnen/calibre-web.git
synced 2024-11-11 05:33:57 +00:00
Update exception upon migration of database #1935
This commit is contained in:
parent
b38877e193
commit
e13820bbf0
@ -358,7 +358,7 @@ def _migrate_table(session, orm_class):
|
||||
if column_name[0] != '_':
|
||||
try:
|
||||
session.query(column).first()
|
||||
except exc.OperationalError as err:
|
||||
except OperationalError as err:
|
||||
log.debug("%s: %s", column_name, err.args[0])
|
||||
if column.default is not None:
|
||||
if sys.version_info < (3, 0):
|
||||
|
Loading…
Reference in New Issue
Block a user