Skip to content

Commit

Permalink
wx.metadata/mdlib: fix slice stop index
Browse files Browse the repository at this point in the history
  • Loading branch information
tmszi committed Jul 2, 2020
1 parent 2284db5 commit 97032cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grass7/gui/wxpython/wx.metadata/mdlib/cswlib.py
Expand Up @@ -616,7 +616,7 @@ def strip_str(s):
cmd = []
item_data = "item_data=" + self.get_item_data(idx, 'link')
# Strip { }
data = self.get_item_data(idx, 'link')[1:-2]
data = self.get_item_data(idx, 'link')[1:-1]
item_data = dict(
(strip_str(k), strip_str(v))
for k, v in (item.split(':', 1)
Expand Down

0 comments on commit 97032cb

Please sign in to comment.