Hotfix DB comparison

This commit is contained in:
tomkat83 2016-03-14 18:12:26 +01:00
parent 45ca204bfa
commit 58cb57e397

View file

@ -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