diff --git a/bin/qbth b/bin/qbth index 96d5e12..ce971ac 100755 --- a/bin/qbth +++ b/bin/qbth @@ -70,7 +70,7 @@ def remove_torrents(distro_substring: str): torrent's file name. """ for torrent in qb.torrents(): - if distro_substring in torrent.get("name") # type: ignore + if distro_substring in torrent.get("name"): # type: ignore qb.delete_permanently(torrent.get("hash")) # type: ignore print(f"Removed {torrent.get('name')}") # type: ignore