From ab1f28bb8830364f7de1aa12f139ed7ed59159b5 Mon Sep 17 00:00:00 2001 From: croneter Date: Fri, 16 Feb 2018 18:23:55 +0100 Subject: [PATCH] Fix TypeError when DB yet empty --- resources/lib/librarysync.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/lib/librarysync.py b/resources/lib/librarysync.py index d9c37a6f..2797373b 100644 --- a/resources/lib/librarysync.py +++ b/resources/lib/librarysync.py @@ -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),