From d8fa394a30cdc4ec7367a16b3acf1a3d86310655 Mon Sep 17 00:00:00 2001 From: jesopo Date: Sun, 2 Jan 2022 23:50:18 +0000 Subject: [PATCH] unnecessary truthiness check closes #4 --- irctokens/formatting.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/irctokens/formatting.py b/irctokens/formatting.py index a38c599..b43e6b0 100644 --- a/irctokens/formatting.py +++ b/irctokens/formatting.py @@ -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)