Fix a couple of broken checks

This commit is contained in:
Veronica K. B. Olsen committed 2021-01-03 01:45:05 +01:00
1 parent 9a4b357bcd
commit 9d9b64fc3d
2 files changed
+3 -2

No files matched your search

+1 -1
View File
@@ -329,7 +329,7 @@ class GuiOutlineDetails(QScrollArea):
def _formatTags(self, theRefs, theKey):
"""Format the tags as clickable links.
"""
if theKey not in theKey:
if theKey not in theRefs:
return ""
refTags = []
for tTag in theRefs[theKey]: