Fixed method name

This commit is contained in:
Fabio Manganiello 2020-08-19 23:56:23 +02:00
parent 988601b10e
commit 403076e6ab

View file

@ -198,7 +198,7 @@ class MusicMopidyBackend(Backend):
def _retry_connect(self): def _retry_connect(self):
def reconnect(): def reconnect():
while not self._should_stop() and not self._connected_event.is_set(): while not self.should_stop() and not self._connected_event.is_set():
try: try:
self._connect() self._connect()
except Exception as e: except Exception as e: