Skip to content
Snippets Groups Projects
Commit 6bb862dc authored by jkerdreu's avatar jkerdreu
Browse files

dropping useless tests

git-svn-id: https://redmine.imt-atlantique.fr/svn/xaal/code/Python/trunk@2218 b32b6428-25c9-4566-ad07-03861ab6144f
parent 1f0a67cf
No related branches found
No related tags found
No related merge requests found
......@@ -326,9 +326,7 @@ class Gateway(AqaraDev):
## GW Mutlicast messages handlers
#========================================================================
def parse(self,pkt):
# token used on gw aren't in data..
cmd = pkt.get('cmd',None)
if cmd == 'heartbeat':
# extract the token before normal parsing
token = pkt.get('token',None)
if token:
self.token = token
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment