Skip to content

Commit

Permalink
Bad ref to COMMAND_TOPIC class var
Browse files Browse the repository at this point in the history
Correct missing "Client." prefix in reference to COMMAND_TOPIC
  • Loading branch information
David Parker committed Oct 24, 2016
1 parent 615725f commit 6f82821
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ibmiotf/device.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ def __subscribeToCommands(self):
self.logger.warning("Unable to subscribe to commands because device is not currently connected")
return False
else:
self.client.subscribe(COMMAND_TOPIC, qos=1)
self.client.subscribe(Client.COMMAND_TOPIC, qos=1)
return True

def __onCommand(self, client, userdata, pahoMessage):
Expand Down

0 comments on commit 6f82821

Please sign in to comment.