mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06:11 +00:00
Fix database version migration
This commit is contained in:
parent
280e9ab268
commit
0afc200a96
1 changed files with 1 additions and 1 deletions
|
@ -914,7 +914,7 @@ class LibrarySync(threading.Thread):
|
|||
emby_db = embydb.Embydb_Functions(embycursor)
|
||||
currentVersion = emby_db.get_version()
|
||||
###$ Begin migration $###
|
||||
if currentVersion is None:
|
||||
if not currentVersion:
|
||||
currentVersion = emby_db.get_version(settings('dbCreatedWithVersion') or self.clientInfo.get_version())
|
||||
embyconn.commit()
|
||||
log.info("Migration of database version completed")
|
||||
|
|
Loading…
Reference in a new issue