Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
natcl committed Jun 26, 2013
1 parent 9ae2599 commit da0ee06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion phue.py
Original file line number Diff line number Diff line change
Expand Up @@ -670,7 +670,7 @@ def set_group(self, group_id, parameter, value=None, transitiontime=None):
if isinstance(parameter, dict):
data = parameter
elif parameter == 'lights' and isinstance(value, list) or isinstance(value, int):
data = {parameter: [str(x) for x in [value]}
data = {parameter: [str(x) for x in [value]]}
else:
data = {parameter: value}

Expand Down

0 comments on commit da0ee06

Please sign in to comment.