Skip to content

Commit

Permalink
Fixed issue in the listening loop breaking
Browse files Browse the repository at this point in the history
  • Loading branch information
joamag committed Mar 7, 2019
1 parent 9422f2e commit 55e879d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/appier/bus.py
Expand Up @@ -180,6 +180,7 @@ def _close(self):

def _loop(self, safe = True):
for item in self._pubsub.listen():
if not self.loaded: break
channel = item.get("channel", None)
channel = legacy.str(channel)
type = item.get("type", None)
Expand Down

0 comments on commit 55e879d

Please sign in to comment.