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