fix #352 历史记录重新整理时删除原已整理的文件
This commit is contained in:
parent
0050a96faf
commit
e785f20c5a
@ -453,6 +453,10 @@ class TransferChain(ChainBase):
|
||||
if not state:
|
||||
return False, errmsg
|
||||
|
||||
# 删除旧的已整理文件
|
||||
if history.dest:
|
||||
self.delete_files(Path(history.dest))
|
||||
|
||||
# 删除旧历史记录
|
||||
self.transferhis.delete(logid)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user