From 58cb57e39799027e4cd4cd6436c3b4e143e03f7f Mon Sep 17 00:00:00 2001 From: tomkat83 Date: Mon, 14 Mar 2016 18:12:26 +0100 Subject: [PATCH] Hotfix DB comparison --- resources/lib/librarysync.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/resources/lib/librarysync.py b/resources/lib/librarysync.py index e1c3b1e1..d435de37 100644 --- a/resources/lib/librarysync.py +++ b/resources/lib/librarysync.py @@ -1382,6 +1382,12 @@ class LibrarySync(Thread): # there WAS no current DB, e.g. deleted. return True minMajor, minMinor, minPatch = minimum.split(".") + currMajor = int(currMajor) + currMinor = int(currMinor) + currPatch = int(currPatch) + minMajor = int(minMajor) + minMinor = int(minMinor) + minPatch = int(minPatch) if currMajor > minMajor: return True