diff --git a/firmware/PIMORONI_BADGER2040/lib/badger_os.py b/firmware/PIMORONI_BADGER2040/lib/badger_os.py index ce4cc19..fc00c23 100644 --- a/firmware/PIMORONI_BADGER2040/lib/badger_os.py +++ b/firmware/PIMORONI_BADGER2040/lib/badger_os.py @@ -81,7 +81,6 @@ def state_save(app, data): f.write(json.dumps(data)) f.flush() except OSError: - import os try: os.stat("/state") except OSError: diff --git a/firmware/PIMORONI_BADGER2040W/lib/badger_os.py b/firmware/PIMORONI_BADGER2040W/lib/badger_os.py index ce4cc19..fc00c23 100644 --- a/firmware/PIMORONI_BADGER2040W/lib/badger_os.py +++ b/firmware/PIMORONI_BADGER2040W/lib/badger_os.py @@ -81,7 +81,6 @@ def state_save(app, data): f.write(json.dumps(data)) f.flush() except OSError: - import os try: os.stat("/state") except OSError: