diff --git a/run_monitor.py b/run_monitor.py index dac7dc0..5569503 100644 --- a/run_monitor.py +++ b/run_monitor.py @@ -1,10 +1,5 @@ from cryptoai.monitor_endpoint import run_monitor -import os -import sys - -# 添加项目根目录到Python路径 -current_dir = os.path.dirname(os.path.abspath(__file__)) -sys.path.append(current_dir) +import sys if __name__ == "__main__": - run_monitor() \ No newline at end of file + sys.exit(run_monitor()) \ No newline at end of file