mirror of
https://github.com/morpheus65535/bazarr.git
synced 2024-11-15 04:04:42 +08:00
15 lines
289 B
Python
15 lines
289 B
Python
|
from __future__ import absolute_import, division, unicode_literals
|
||
|
|
||
|
from .py import Trie as PyTrie
|
||
|
|
||
|
Trie = PyTrie
|
||
|
|
||
|
# pylint:disable=wrong-import-position
|
||
|
try:
|
||
|
from .datrie import Trie as DATrie
|
||
|
except ImportError:
|
||
|
pass
|
||
|
else:
|
||
|
Trie = DATrie
|
||
|
# pylint:enable=wrong-import-position
|