diff --git a/clock_screensaver.py b/clock_screensaver.py index 8f1e925..33448b0 100644 --- a/clock_screensaver.py +++ b/clock_screensaver.py @@ -21,7 +21,7 @@ options.chain_length = 1 options.parallel = 1 options.hardware_mapping = 'adafruit-hat' # Change this if you have a different GPIO mapping options.gpio_slowdown = 2 -options.brightness = int(settings['brightness']*10) +options.brightness = int(settings['brightness'])*10 # Create the RGBMatrix object matrix = RGBMatrix(options=options)