Merge pull request #334 from maimierjiafude/patch-1

[Fix] 修改模块无法找到的问题
This commit is contained in:
Rock Chin
2023-03-27 18:51:05 +08:00
committed by GitHub

View File

@@ -8,6 +8,8 @@ import time
import logging
import sys
sys.path.append(".")
try:
import colorlog
except ImportError:
@@ -26,7 +28,6 @@ import websockets.exceptions
from urllib3.exceptions import InsecureRequestWarning
import pkg.utils.context
sys.path.append(".")
log_colors_config = {
'DEBUG': 'green', # cyan white