9 行
252 B
Python
9 行
252 B
Python
|
|
try:
|
||
|
|
from .main import MemoryCompanionPlugin
|
||
|
|
except ImportError as exc:
|
||
|
|
if "no known parent package" not in str(exc) and getattr(exc, "name", "") != "astrbot":
|
||
|
|
raise
|
||
|
|
MemoryCompanionPlugin = None
|
||
|
|
|
||
|
|
__all__ = ["MemoryCompanionPlugin"]
|