mirror of
https://github.com/laurivosandi/certidude
synced 2026-01-12 17:06:59 +00:00
Tagging fixes
This commit is contained in:
@@ -56,7 +56,10 @@ class TagDetailResource(object):
|
||||
tags = set(getxattr(path, "user.xdg.tags").decode("utf-8").split(","))
|
||||
except IOError:
|
||||
tags = set()
|
||||
tags.remove(tag)
|
||||
try:
|
||||
tags.remove(tag)
|
||||
except KeyError:
|
||||
pass
|
||||
if "=" in tag:
|
||||
tags.add("%s=%s" % (tag.split("=")[0], value))
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user