mirror of
https://github.com/ankitects/anki.git
synced 2025-12-31 15:52:58 -05:00
fix negative number in compat message
This commit is contained in:
parent
a638aa5975
commit
e62d875bbd
1 changed files with 1 additions and 1 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Reference in a new issue