fix: break the loop

This commit is contained in:
ThomasV 2012-10-23 08:15:53 +02:00
parent c9ffb1b4ba
commit 52d72a527a
1 changed files with 1 additions and 0 deletions

View File

@ -106,6 +106,7 @@ class Interface(threading.Thread):
for k,v in self.subscriptions.items():
if (method, params) in v:
channel = k
break
else:
print "received unexpected notification", method, params
print self.subscriptions