Revert "Hopefully fix Plex Companion RuntimeError"

This reverts commit 14c9d10459.
This commit is contained in:
tomkat83 2017-01-15 17:26:59 +01:00
parent 0a33fcf3a1
commit 908e67e0bf

View file

@ -160,8 +160,8 @@ class SubscriptionManager:
with threading.RLock(): with threading.RLock():
for sub in self.subscribers.values(): for sub in self.subscribers.values():
sub.send_update(msg, len(players) == 0) sub.send_update(msg, len(players) == 0)
self.notifyServer(players) self.notifyServer(players)
self.lastplayers = players self.lastplayers = players
return True return True
def notifyServer(self, players): def notifyServer(self, players):