Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
jxxghp committed Jan 1, 2025
1 parent 4b3f04c commit d5ac9f6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/chain/transfer.py
Original file line number Diff line number Diff line change
Expand Up @@ -1010,7 +1010,8 @@ def __is_allow_filesize(_size: int, _min_filesize: int) -> bool:
if not force:
transferd = self.transferhis.get_by_src(file_item.path, storage=file_item.storage)
if transferd:
all_success = False
if not transferd.status:
all_success = False
logger.info(f"{file_item.path} 已整理过,如需重新处理,请删除整理记录。")
err_msgs.append(f"{file_item.name} 已整理过")
fail_num += 1
Expand Down

0 comments on commit d5ac9f6

Please sign in to comment.