diff --git a/mycroft/client/enclosure/base.py b/mycroft/client/enclosure/base.py index ffde2d5e7f41..3b876b374c1c 100644 --- a/mycroft/client/enclosure/base.py +++ b/mycroft/client/enclosure/base.py @@ -265,7 +265,7 @@ def __insert_new_namespace(self, namespace, pages): # Load any already stored Data data = self.datastore.get(namespace, {}) - for key in data: + for key in dict(data): msg = {"type": "mycroft.session.set", "namespace": namespace, "data": {key: data[key]}}