reply, proxy, create floder, bug fix...

This commit is contained in:
2020-04-01 21:52:22 +08:00
parent 70f6a177d4
commit 60c9bbc4af
6 changed files with 59 additions and 26 deletions

View File

@@ -57,6 +57,24 @@ class Jsondata:
if self.auto_save:
pass
def create_floder(path):
pathlist = list(os.path.split(path))
pathlist.pop()
flordpath = os.path.join(pathlist)
if not os.path.exists(flordpath):
_create_floder(flordpath)
def _create_floder(path):
pathlist = list(os.path.split(path))
pathlist.pop()
flordpath = os.path.join(pathlist)
if not os.path.exists(flordpath):
_create_floder(flordpath)
os.mkdir(flordpath)
global_config = {}
msw_queue = queue.Queue()
jsondata = Jsondata()