Hotfix db comparison
This commit is contained in:
parent
037925a030
commit
aa40307408
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