1
0
Fork 0
mirror of synced 2024-06-18 02:24:43 +12:00

Fix bug with version compare

This commit is contained in:
Dummerle 2021-04-09 13:18:58 +02:00
parent 56550ba5a4
commit 7d0eb92108

View file

@ -7,7 +7,10 @@ from rare.utils.utils import get_latest_version
def versiontuple(v):
return tuple(map(int, (v.split("."))))
try:
return tuple(map(int, (v.split("."))))
except:
return tuple((9, 9, 9)) # It is a beta version and newer
class About(QWidget):