Skip to content

Commit

Permalink
wx.metadata/mdlib: fix compare two metadata items (remove metadata item)
Browse files Browse the repository at this point in the history
  • Loading branch information
tmszi committed Jul 2, 2020
1 parent c3bf5c6 commit 7d18fb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grass7/gui/wxpython/wx.metadata/mdlib/mdjinjaparser.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def removeMdItem(self, item):
try:
for k, oldListItem in enumerate(self.mdItem):
for i in oldListItem:
if i == item:
if oldListItem == item:
self.mdItem[k].remove(item)
except:
self.mdItem.remove(item)
Expand Down

0 comments on commit 7d18fb0

Please sign in to comment.