Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
jxxghp committed Sep 28, 2023
1 parent 8350012 commit cfe113f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/chain/transfer.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ def do_transfer(self, path: Path, meta: MetaBase = None,
# 新增转移失败历史记录
his = self.transferhis.add_fail(
src_path=file_path,
mode=settings.TRANSFER_TYPE,
mode=transfer_type,
meta=file_meta,
download_hash=download_hash
)
Expand Down Expand Up @@ -311,7 +311,7 @@ def do_transfer(self, path: Path, meta: MetaBase = None,
# 新增转移失败历史记录
self.transferhis.add_fail(
src_path=file_path,
mode=settings.TRANSFER_TYPE,
mode=transfer_type,
download_hash=download_hash,
meta=file_meta,
mediainfo=file_mediainfo,
Expand Down Expand Up @@ -350,7 +350,7 @@ def do_transfer(self, path: Path, meta: MetaBase = None,
# 新增转移成功历史记录
self.transferhis.add_success(
src_path=file_path,
mode=settings.TRANSFER_TYPE,
mode=transfer_type,
download_hash=download_hash,
meta=file_meta,
mediainfo=file_mediainfo,
Expand Down

0 comments on commit cfe113f

Please sign in to comment.