This commit is contained in:
Hachi-R 2024-12-22 06:58:20 -03:00
parent 1a286df3f7
commit fd5b2e08a5
14 changed files with 31 additions and 87 deletions

View file

@ -128,7 +128,7 @@ class TorrentDownloader:
self.torrent_handle = None
def get_download_status(self):
if self.torrent_handle == None:
if self.torrent_handle is None:
return None
status = self.torrent_handle.status()