Skip to content

Commit

Permalink
Use new device command properties for labels.
Browse files Browse the repository at this point in the history
  • Loading branch information
yombo committed Oct 22, 2018
1 parent 00c00d3 commit 08c3b22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions yombo/lib/users/__init__.py
Expand Up @@ -569,8 +569,8 @@ def get_platform_item(self, platform, item=None):
elif platform == AUTH_PLATFORM_DEVICE_COMMAND:
platform_item = self._Devices.device_commands[item]
platform_item_id = platform_item.command_id
platform_item_label = platform_item.machine_label
platform_label_attr = 'machine_label'
platform_item_label = platform_item.label
platform_label_attr = 'label'
elif platform == AUTH_PLATFORM_EVENTS:
platform_item = None
platform_item_id = None
Expand Down

0 comments on commit 08c3b22

Please sign in to comment.