fix negative number in compat message

This commit is contained in:
Damien Elmes 2020-02-18 08:12:14 +10:00
parent 25ecb5d1f0
commit 3ea272989b

View File

@ -725,7 +725,7 @@ class AddonsDialog(QDialog):
if min is not None and min > current_point_version:
return f"Anki >= 2.1.{min}"
else:
max = addon.max_point_version
max = abs(addon.max_point_version)
return f"Anki <= 2.1.{max}"
def should_grey(self, addon: AddonMeta):