Skip to content
This repository has been archived by the owner on Sep 8, 2024. It is now read-only.

Commit

Permalink
Merge pull request #3022 from MycroftAI/bugfix/gui-namespace-race-cond
Browse files Browse the repository at this point in the history
Fix race condition in GUI namespace insertion
  • Loading branch information
krisgesling authored Nov 4, 2021
2 parents fd12c88 + f8f640e commit ea15759
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mycroft/client/enclosure/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,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]}}
Expand Down

0 comments on commit ea15759

Please sign in to comment.