Skip to content
Snippets Groups Projects
Commit b97c0d5e authored by Michael DM Dryden's avatar Michael DM Dryden
Browse files

Make metadata keys optional.

parent d46ac775
Branches
Tags
1 merge request!10Move to gtk3 and new command protocol
......@@ -111,8 +111,8 @@ class DB_Window(gobject.GObject):
self.ui[i].set_text("")
def update_from_metadata(self, metadata):
params = {k : metadata[j] for j, k in self.metadata_map}
# if j in metadata}
params = {k : metadata[j] for j, k in self.metadata_map
if j in metadata}
self.params = params
def show(self):
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment