v2.3.5 修复更名不换行的bug

This commit is contained in:
EstrellaXD
2022-05-28 18:15:55 +08:00
parent 29e4a065b6
commit 19cd4199d4

View File

@@ -54,7 +54,7 @@ class qBittorrentRename:
def rename(self):
if self.path_name != self.new_name:
self.qbt_client.torrents_rename_file(torrent_hash=self.hash, old_path=self.path_name, new_path=self.new_name)
sys.stdout.write(f"[{time.strftime('%Y-%m-%d %X')}] {self.path_name} >> {self.new_name}")
sys.stdout.write(f"[{time.strftime('%Y-%m-%d %X')}] {self.path_name} >> {self.new_name}" + "\n")
self.count += 1
else:
return