Hotfix DB comparison
This commit is contained in:
parent
45ca204bfa
commit
58cb57e397
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue