diff --git a/scripts/demo1.py b/scripts/demo1.py index 2f71408..b6350d8 100755 --- a/scripts/demo1.py +++ b/scripts/demo1.py @@ -46,7 +46,7 @@ def do_backlight(): def select_next_backlight(): global current_backlight current_backlight += 1 - if (current_backlight == len(backlight_level_list): + if current_backlight == len(backlight_level_list): current_backlight = 0 do_backlight()