diff --git a/qBitrr/utils.py b/qBitrr/utils.py index 6324b24f..f83f799b 100644 --- a/qBitrr/utils.py +++ b/qBitrr/utils.py @@ -83,7 +83,7 @@ def has_internet(client: qbittorrentapi.Client): url = random.choice(PING_URLS) try: - if not is_connected(url) or not client.transfer_info()["connection_status"] == "connected": + if not is_connected(url) or client.transfer_info()["connection_status"] == "disconnected": return False except: logger.error("Error getting qbittorrent transfer info %s", client.transfer_info())