fix negative number in compat message
This commit is contained in:
parent
25ecb5d1f0
commit
3ea272989b
@ -725,7 +725,7 @@ class AddonsDialog(QDialog):
|
|||||||
if min is not None and min > current_point_version:
|
if min is not None and min > current_point_version:
|
||||||
return f"Anki >= 2.1.{min}"
|
return f"Anki >= 2.1.{min}"
|
||||||
else:
|
else:
|
||||||
max = addon.max_point_version
|
max = abs(addon.max_point_version)
|
||||||
return f"Anki <= 2.1.{max}"
|
return f"Anki <= 2.1.{max}"
|
||||||
|
|
||||||
def should_grey(self, addon: AddonMeta):
|
def should_grey(self, addon: AddonMeta):
|
||||||
|
Loading…
Reference in New Issue
Block a user