Skip to content

Commit

Permalink
fix_broadcast
Browse files Browse the repository at this point in the history
  • Loading branch information
jomorais committed May 22, 2017
1 parent 7949c5e commit 52f3275
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyfase.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def execute(self, enable_tasks=None):
if '<r>:' in pkg: # IS A REGISTER PACKAGE!
o_pkg = loads(pkg[4:])
service = o_pkg['s']
if self.name in service:
if self.name == service:
self.on_connect()
else:
self.on_new_service(service, o_pkg['a'])
Expand Down

0 comments on commit 52f3275

Please sign in to comment.