Skip to content

Commit

Permalink
Merge pull request #84 from migaku-official/fix/anki-version-2
Browse files Browse the repository at this point in the history
fix: put exisiting or maybe non-existing patch arg into rest param
  • Loading branch information
MinmoTech authored Dec 17, 2023
2 parents d2491a6 + d0955f8 commit 728ccf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/anki_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def get_state() -> VersionState:
except ValueError:
return VersionState.UNKNOWN

major, minor = version_tuple
major, minor, *rest = version_tuple

if major <= 2:
# Old versioning scheme
Expand Down

0 comments on commit 728ccf7

Please sign in to comment.