Skip to content
Snippets Groups Projects
Commit 6ed26bb4 authored by Jakub Maloštík's avatar Jakub Maloštík
Browse files

Fix: set tagmap_other to Id of "Other" from tagmap not catmap

parent f4346ff9
No related branches found
No related tags found
No related merge requests found
...@@ -493,7 +493,7 @@ class MySQL(ObjectBase): ...@@ -493,7 +493,7 @@ class MySQL(ObjectBase):
with io.open(tagmap_filename, "r", encoding="utf-8") as tagmap_fd: with io.open(tagmap_filename, "r", encoding="utf-8") as tagmap_fd:
self.tagmap = json.load(tagmap_fd) self.tagmap = json.load(tagmap_fd)
self.tagmap_other = self.catmap["Other"] # Catch error soon, avoid lookup later self.tagmap_other = self.tagmap["Other"] # Catch error soon, avoid lookup later
self.con = None self.con = None
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment