[Update] 添加debug

pull/2874/head
ibuler 2019-06-21 16:03:37 +08:00
parent dd4ef4c383
commit 2e6ba2ffb2
1 changed files with 1 additions and 0 deletions

View File

@ -51,6 +51,7 @@ def upload_to_local(session):
target_path = os.path.join(target_dir, target_filename)
if not os.path.isdir(target_dir):
os.makedirs(target_dir)
print("Move {} => {}".format(source_path, target_path))
shutil.copy(source_path, target_path)
shutil.copystat(source_path, target_path)
os.unlink(source_path)