diff --git a/main.py b/main.py index 060667e..e74a918 100644 --- a/main.py +++ b/main.py @@ -70,13 +70,13 @@ if __name__ == '__main__': strip.begin() if not os.path.exists('./config.ini'): - config[''] = {'led_power': True, 'timer': True, 'start_time': '06:00', 'stop_time': '22:00'} + config['testing'] = {'led_power': True, 'timer': True, 'start_time': '06:00', 'stop_time': '22:00'} write_file() - led_power = config.get('', 'led_power') + led_power = config.get('testing', 'led_power') else: - led_power = config.get('', 'led_power') + led_power = config.get('testing', 'led_power') try: while True: