File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -263,12 +263,13 @@ def __init__(self, entrypath: Path):
263
263
tagblock = []
264
264
reading = False
265
265
for line in self .lines :
266
+ line = line .strip ()
266
267
if tagstart in line :
267
268
reading = True
268
269
line = line .split (tagstart )[1 ]
269
270
tagblock .extend (line .split ("," ))
270
271
else :
271
- if reading and line . strip () == tagend :
272
+ if reading and line == tagend :
272
273
# tagblock now contains at least one tag
273
274
if tagblock != ["" ]:
274
275
break
@@ -277,7 +278,7 @@ def __init__(self, entrypath: Path):
277
278
278
279
self .tags = []
279
280
if tagblock :
280
- self .tags = [_normalize_display_tag (tag ). rstrip ( '"' ) for tag in tagblock if tag != "" ]
281
+ self .tags = [_normalize_display_tag (tag ) for tag in tagblock if tag != "" ]
281
282
282
283
def assign_to_tags (self , tag_dict ):
283
284
"""Append ourself to tags"""
You can’t perform that action at this time.
0 commit comments