mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-26 02:36:10 +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()
|
currentVersion = emby_db.get_version()
|
||||||
###$ Begin migration $###
|
###$ Begin migration $###
|
||||||
if currentVersion is None:
|
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()
|
embyconn.commit()
|
||||||
log.info("Migration of database version completed")
|
log.info("Migration of database version completed")
|
||||||
###$ End migration $###
|
###$ End migration $###
|
||||||
|
|
Loading…
Reference in a new issue