diff --git a/src/hoarder.py b/src/hoarder.py index 70e6247..5961b7a 100644 --- a/src/hoarder.py +++ b/src/hoarder.py @@ -29,8 +29,8 @@ class rtorrentRPC: # try to connect to the XMLRPC server if not self.connect(): logging.warning('Indefinitely retrying to reconnect to "%s"' % self.connectString) - while True: - self.reconnect() + while not self.reconnect(): + pass """ Determines if we are connected to the XMLRPC server