mirror of
https://github.com/bytedream/aionlib.git
synced 2025-05-09 20:05:08 +02:00
Update __init__.py
This commit is contained in:
parent
75418cb4fa
commit
fe1e57324b
@ -11,7 +11,7 @@ _start_check()
|
|||||||
is_aion = _start_check.is_aion
|
is_aion = _start_check.is_aion
|
||||||
is_linux = _start_check.is_linux
|
is_linux = _start_check.is_linux
|
||||||
|
|
||||||
from ._utils import aion_data_path, aion_path, import_aion_internal_file, raise_aion_not_installed_error
|
from ._utils import aion_data_path, aion_path, raise_aion_not_installed_error
|
||||||
|
|
||||||
from . import config, language, logging, plugin, utils, variable
|
from . import config, language, logging, plugin, utils, variable
|
||||||
|
|
||||||
@ -29,6 +29,7 @@ def speech_output(speech_output: str) -> None:
|
|||||||
:since: 0.1.0
|
:since: 0.1.0
|
||||||
"""
|
"""
|
||||||
if is_aion:
|
if is_aion:
|
||||||
|
from ._utils import import_aion_internal_file
|
||||||
return import_aion_internal_file("__init__").speech_output(speech_output)
|
return import_aion_internal_file("__init__").speech_output(speech_output)
|
||||||
else:
|
else:
|
||||||
from ._utils import no_aion
|
from ._utils import no_aion
|
||||||
|
Loading…
x
Reference in New Issue
Block a user