mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-07-25 05:46:13 +00:00
修改模块无法找到的问题
This commit is contained in:
@@ -8,6 +8,8 @@ import time
|
|||||||
import logging
|
import logging
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
|
sys.path.append(".")
|
||||||
|
|
||||||
try:
|
try:
|
||||||
import colorlog
|
import colorlog
|
||||||
except ImportError:
|
except ImportError:
|
||||||
@@ -26,7 +28,6 @@ import websockets.exceptions
|
|||||||
from urllib3.exceptions import InsecureRequestWarning
|
from urllib3.exceptions import InsecureRequestWarning
|
||||||
import pkg.utils.context
|
import pkg.utils.context
|
||||||
|
|
||||||
sys.path.append(".")
|
|
||||||
|
|
||||||
log_colors_config = {
|
log_colors_config = {
|
||||||
'DEBUG': 'green', # cyan white
|
'DEBUG': 'green', # cyan white
|
||||||
|
|||||||
Reference in New Issue
Block a user