unnecessary truthiness check

closes #4
This commit is contained in:
jesopo 2022-01-02 23:50:18 +00:00
parent 2094648a51
commit d8fa394a30
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ def format(
tags_str = []
for key in sorted(tags.keys()):
if tags[key]:
value = tags[key] or ""
value = tags[key]
tags_str.append(f"{key}={_escape_tag(value)}")
else:
tags_str.append(key)