This commit is contained in:
Mr Chen
2024-12-02 02:33:32 +08:00
parent c1dec87784
commit e9a01b5056
7 changed files with 42 additions and 12 deletions
+6 -2
View File
@@ -9,8 +9,12 @@ import json
import base64
import threading
sys.path.append(os.getcwd() + "/class/core")
import mw
web_dir = os.getcwd() + "/web"
if os.path.exists(web_dir):
sys.path.append(web_dir)
os.chdir(web_dir)
import core.mw as mw
import telebot
from telebot import types
@@ -9,8 +9,12 @@ import json
import base64
import threading
sys.path.append(os.getcwd() + "/class/core")
import mw
web_dir = os.getcwd() + "/web"
if os.path.exists(web_dir):
sys.path.append(web_dir)
os.chdir(web_dir)
import core.mw as mw
import telebot
from telebot import types
@@ -9,8 +9,12 @@ import json
import base64
import threading
sys.path.append(os.getcwd() + "/class/core")
import mw
web_dir = os.getcwd() + "/web"
if os.path.exists(web_dir):
sys.path.append(web_dir)
os.chdir(web_dir)
import core.mw as mw
import telebot
from telebot import types
+6 -2
View File
@@ -7,8 +7,12 @@ import json
import base64
import threading
sys.path.append(os.getcwd() + "/class/core")
import mw
web_dir = os.getcwd() + "/web"
if os.path.exists(web_dir):
sys.path.append(web_dir)
os.chdir(web_dir)
import core.mw as mw
import telebot
from telebot import types
@@ -9,6 +9,12 @@ import json
import base64
import threading
web_dir = os.getcwd() + "/web"
if os.path.exists(web_dir):
sys.path.append(web_dir)
os.chdir(web_dir)
import core.mw as mw
import telebot
from telebot import types
+6 -2
View File
@@ -9,8 +9,12 @@ import json
import base64
import threading
sys.path.append(os.getcwd() + "/class/core")
import mw
web_dir = os.getcwd() + "/web"
if os.path.exists(web_dir):
sys.path.append(web_dir)
os.chdir(web_dir)
import core.mw as mw
import telebot
+6 -2
View File
@@ -9,8 +9,12 @@ import json
import base64
import threading
sys.path.append(os.getcwd() + "/class/core")
import mw
web_dir = os.getcwd() + "/web"
if os.path.exists(web_dir):
sys.path.append(web_dir)
os.chdir(web_dir)
import core.mw as mw
import telebot