From 403076e6ab98a98e6c5b389dd2b9abb6fa0b149e Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Wed, 19 Aug 2020 23:56:23 +0200 Subject: [PATCH] Fixed method name --- platypush/backend/music/mopidy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platypush/backend/music/mopidy.py b/platypush/backend/music/mopidy.py index 361bc73aa..35c0594c2 100644 --- a/platypush/backend/music/mopidy.py +++ b/platypush/backend/music/mopidy.py @@ -198,7 +198,7 @@ class MusicMopidyBackend(Backend): def _retry_connect(self): 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: self._connect() except Exception as e: