fix import path bug

This commit is contained in:
p930006025
2019-12-16 11:08:50 +08:00
parent 0045e1e7da
commit 5cc22ffba9

7
msw.py
View File

@@ -1,6 +1,11 @@
import sys
import os
PATH = os.path.dirname(os.path.abspath(__file__))
sys.path.append(PATH)
os.chdir(PATH)
from mswp import Datapack
import threading
import os
from config import jsondata, global_config