Fix TypeError when DB yet empty
This commit is contained in:
parent
121e8e0243
commit
ab1f28bb88
1 changed files with 1 additions and 1 deletions
|
@ -1525,7 +1525,7 @@ class LibrarySync(Thread):
|
||||||
currentVersion = settings('dbCreatedWithVersion')
|
currentVersion = settings('dbCreatedWithVersion')
|
||||||
if not compare_version(currentVersion, v.MIN_DB_VERSION):
|
if not compare_version(currentVersion, v.MIN_DB_VERSION):
|
||||||
log.warn("Db version out of date: %s minimum version "
|
log.warn("Db version out of date: %s minimum version "
|
||||||
"required: %s", (currentVersion, v.MIN_DB_VERSION))
|
"required: %s", currentVersion, v.MIN_DB_VERSION)
|
||||||
# DB out of date. Proceed to recreate?
|
# DB out of date. Proceed to recreate?
|
||||||
resp = dialog('yesno',
|
resp = dialog('yesno',
|
||||||
heading=lang(29999),
|
heading=lang(29999),
|
||||||
|
|
Loading…
Reference in a new issue