fix: break the loop
This commit is contained in:
@@ -106,6 +106,7 @@ class Interface(threading.Thread):
|
|||||||
for k,v in self.subscriptions.items():
|
for k,v in self.subscriptions.items():
|
||||||
if (method, params) in v:
|
if (method, params) in v:
|
||||||
channel = k
|
channel = k
|
||||||
|
break
|
||||||
else:
|
else:
|
||||||
print "received unexpected notification", method, params
|
print "received unexpected notification", method, params
|
||||||
print self.subscriptions
|
print self.subscriptions
|
||||||
|
|||||||
Reference in New Issue
Block a user