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.
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue