fix rsbackend compat issues
This commit is contained in:
parent
6aab9feec1
commit
b56580a8c0
@ -14,8 +14,6 @@ import anki._backend.fluent_pb2 as _fluent_pb
|
||||
# public exports
|
||||
TR = _fluent_pb.FluentString
|
||||
FormatTimeSpan = _pb.FormatTimespanIn
|
||||
# legacy alias used by add-ons
|
||||
FormatTimeSpanContext = FormatTimeSpan
|
||||
|
||||
langs = sorted(
|
||||
[
|
||||
|
@ -9,4 +9,6 @@
|
||||
|
||||
from anki.decks import DeckTreeNode
|
||||
from anki.errors import InvalidInput, NotFoundError
|
||||
from anki.lang import FormatTimeSpan
|
||||
from anki.lang import TR
|
||||
from anki.lang import FormatTimeSpan as FormatTimeSpanContext
|
||||
from anki.utils import from_json_bytes, to_json_bytes
|
||||
|
@ -34,6 +34,7 @@ import pyaudio
|
||||
# legacy compat
|
||||
import anki.storage
|
||||
import anki.sync
|
||||
import anki.rsbackend
|
||||
|
||||
# platform-specifics
|
||||
from anki.utils import isLin, isMac, isWin
|
||||
|
Loading…
Reference in New Issue
Block a user