mirror of
https://github.com/ankitects/anki.git
synced 2025-12-20 10:22:57 -05:00
fix +ve max versions being marked as disabled
This commit is contained in:
parent
9933720994
commit
45e8a9a364
1 changed files with 1 additions and 1 deletions
|
|
@ -116,7 +116,7 @@ class AddonMeta:
|
|||
if min is not None and current_point_version < min:
|
||||
return False
|
||||
max = self.max_point_version
|
||||
if max is not None and current_point_version > max:
|
||||
if max is not None and max < 0 and current_point_version > abs(max):
|
||||
return False
|
||||
return True
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue