Fix an issue in index with open a version 1.2 project
This commit is contained in:
+2
-1
@@ -714,7 +714,8 @@ class NWIndex():
|
||||
for refTitle in self._refIndex[tHandle]:
|
||||
for aTag in self._refIndex[tHandle][refTitle].get("tags", []):
|
||||
if len(aTag) == 3 and (sTitle is None or sTitle == refTitle):
|
||||
theRefs[aTag[1]].append(aTag[2])
|
||||
if aTag[1] in theRefs: # Future-compatible. Check can be removed in 1.2.
|
||||
theRefs[aTag[1]].append(aTag[2])
|
||||
|
||||
return theRefs
|
||||
|
||||
|
||||
Reference in New Issue
Block a user