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
@ -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 New Issue
Block a user