chore: scripts/大收尸——178个影子副本/零引用工具归档至archive/20260722-scripts-cleanup(红线#6/#8,git mv保历史)
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
import sys, os
|
||||
sys.path.insert(0, '/home/hmo/MoFin/deploy/bot')
|
||||
sys.path.insert(0, '/home/hmo/MoFin/deploy/bot/../..')
|
||||
try:
|
||||
from xmpp_logger import log_xmpp
|
||||
print('import OK from bot path')
|
||||
import xmpp_logger
|
||||
print('xmpp_logger file:', xmpp_logger.__file__)
|
||||
except Exception as e:
|
||||
print('import FAIL:', e)
|
||||
|
||||
# also check the file exists
|
||||
p = '/home/hmo/MoFin/xmpp_logger.py'
|
||||
print('exists:', os.path.exists(p), 'size:', os.path.getsize(p) if os.path.exists(p) else 0)
|
||||
Reference in New Issue
Block a user