You've already forked MicroPythonOS
mirror of
https://github.com/m5stack/MicroPythonOS.git
synced 2026-05-20 11:51:27 -07:00
config.py: improve output
This commit is contained in:
@@ -30,7 +30,7 @@ class SharedPreferences:
|
||||
self.data = ujson.load(f)
|
||||
print(f"load: Loaded preferences: {self.data}")
|
||||
except Exception as e:
|
||||
print(f"SharedPreferences.load found not preferences: {e}")
|
||||
print(f"SharedPreferences.load didn't find preferences: {e}")
|
||||
self.data = {}
|
||||
|
||||
def get_string(self, key, default=None):
|
||||
|
||||
Reference in New Issue
Block a user