Fix TypeError when DB yet empty

This commit is contained in:
croneter 2018-02-16 18:23:55 +01:00
parent 121e8e0243
commit ab1f28bb88

View file

@ -1525,7 +1525,7 @@ class LibrarySync(Thread):
currentVersion = settings('dbCreatedWithVersion')
if not compare_version(currentVersion, v.MIN_DB_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?
resp = dialog('yesno',
heading=lang(29999),