For prefs you'd normally write:
- Code: Select all
self.pluginPrefs.get("somePrefKey", "default value if key doesn't exist")
but what is the default value if an indigo.Dict() doesn't exist and you need to create an empty one? I've tried '{}' but that doesn't appear to work.