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. # there WAS no current DB, e.g. deleted.
return True return True
minMajor, minMinor, minPatch = minimum.split(".") 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: if currMajor > minMajor:
return True return True