Skip to content

Commit

Permalink
Merge pull request #79 from romainrichard/master
Browse files Browse the repository at this point in the history
Fix active arg parsing
  • Loading branch information
LoLei authored Mar 25, 2024
2 parents 6523cb8 + 9982993 commit 81800a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion razer_cli/razer_cli/setter/color_effect_setter.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ def set_effect_to_device(self, device, effects, color, zones):
if len(arg) == 0:
b = True
else:
b = bool(arg[0])
b = bool(int(arg[0]))
prop.active = b
if self.args.verbose:
debug_msg[zone].append(["Setting", effect, 'to', b])
Expand Down

0 comments on commit 81800a4

Please sign in to comment.