mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
remove legacy warning on pointVersion
https://forums.ankiweb.net/t/anki-2-1-50-beta/15608/30
This commit is contained in:
parent
4571e78016
commit
a377edda7e
1 changed files with 3 additions and 0 deletions
|
@ -307,6 +307,9 @@ def point_version() -> int:
|
|||
return int(version.split(".")[-1])
|
||||
|
||||
|
||||
# keep the legacy alias around without a deprecation warning for now
|
||||
pointVersion = point_version
|
||||
|
||||
_deprecated_names = DeprecatedNamesMixinForModule(globals())
|
||||
_deprecated_names.register_deprecated_aliases(
|
||||
stripHTML=strip_html,
|
||||
|
|
Loading…
Reference in a new issue