Skip to content

Commit

Permalink
3.91
Browse files Browse the repository at this point in the history
  • Loading branch information
moyy996 committed Mar 17, 2020
1 parent b7b385d commit 242ee14
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions AVDC_Main.py
Original file line number Diff line number Diff line change
Expand Up @@ -748,8 +748,9 @@ def add_text_main(self, text):
# ========================================================================移动到失败文件夹
def moveFailedFolder(self, filepath, failed_folder):
if self.Ui.radioButton_fail_move_on.isChecked():
self.add_text_main('[-]Move to Failed output folder')
shutil.move(filepath, failed_folder + '/')
if not os.path.exists(failed_folder + '/' + os.path.split(filepath)[1]):
self.add_text_main('[-]Move to Failed output folder')
shutil.move(filepath, failed_folder + '/')

# ========================================================================下载文件
def DownloadFileWithFilename(self, url, filename, path, Config, filepath, failed_folder):
Expand Down

0 comments on commit 242ee14

Please sign in to comment.