Commit d4a2eabc by sikang

bug fiz

parent e26c1ba1
......@@ -241,8 +241,6 @@ class Function:
if just_print:
return
Function.create_desc(config)
file_name = "%s_%s"\
% (config['corp_id'], config['app_name'].replace(" ", "_"))
target = "/Users/connor/Documents/apks"
......@@ -251,6 +249,8 @@ class Function:
if not os.path.exists(target+"/"+file_name):
os.makedirs(target+"/"+file_name)
Function.create_desc(config)
try:
shutil.move("%s/%s.apk" % (target, file_name),
"%s/%s/%s.apk" % (target, file_name, file_name))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment