Skip to content

Commit

Permalink
V3.963
Browse files Browse the repository at this point in the history
  • Loading branch information
moyy996 committed Aug 10, 2020
1 parent 567f000 commit f2f3f01
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions AVDC_Main.py
Original file line number Diff line number Diff line change
Expand Up @@ -1309,10 +1309,10 @@ def add_mark(self, poster_path, thumb_path, cn_sub, leak, uncensored, config):
mark_type += ',流出'
if self.Ui.checkBox_uncensored.isChecked() and uncensored:
mark_type += ',无码'
if self.Ui.radioButton_thumb_mark_on.isChecked() and mark_type != '' and self.Ui.checkBox_download_thumb.isChecked():
if self.Ui.radioButton_thumb_mark_on.isChecked() and mark_type != '' and self.Ui.checkBox_download_thumb.isChecked() and os.path.exists(thumb_path):
self.add_mark_thread(thumb_path, cn_sub, leak, uncensored)
self.add_text_main('[+]Thumb Add Mark: ' + mark_type.strip(','))
if self.Ui.radioButton_poster_mark_on.isChecked() and mark_type != '' and self.Ui.checkBox_download_poster.isChecked():
if self.Ui.radioButton_poster_mark_on.isChecked() and mark_type != '' and self.Ui.checkBox_download_poster.isChecked() and os.path.exists(poster_path):
self.add_mark_thread(poster_path, cn_sub, leak, uncensored)
self.add_text_main('[+]Poster Add Mark: ' + mark_type.strip(','))

Expand Down Expand Up @@ -1573,9 +1573,9 @@ def Core_Main(self, filepath, number, mode, count, appoint_url=''):
json_data['imagecut'] = 0
self.cutImage(json_data['imagecut'], path, naming_rule) # 裁剪图
self.fix_size(path, naming_rule)
self.deletethumb(path, naming_rule)
if self.Ui.checkBox_download_fanart.isChecked():
self.copyRenameJpgToFanart(path, naming_rule)
self.deletethumb(path, naming_rule)
if self.pasteFileToFolder(filepath, path, naming_rule, failed_folder): # 移动文件,True 为有外挂字幕
cn_sub = 1
if self.Ui.checkBox_download_nfo.isChecked():
Expand Down

0 comments on commit f2f3f01

Please sign in to comment.