Skip to content

Commit

Permalink
pylint
Browse files Browse the repository at this point in the history
  • Loading branch information
attdona committed Oct 8, 2017
1 parent 86eb1b8 commit c28adc5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions recipes/router.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@ def to_json(in_packet):

# from protobuf to json is just a matter of unmarshalling
if ns.is_protobuf(in_packet):
obj=ns.unmarshall(in_packet)
obj = ns.unmarshall(in_packet)
if ns.is_ack(obj, command_type=cmd.Leds):
mask=obj.sts
obj=cmd.Leds()
mask = obj.sts
obj = cmd.Leds()
obj.set_status(mask)
return obj
else:
Expand Down

0 comments on commit c28adc5

Please sign in to comment.