aboutsummaryrefslogtreecommitdiffstats
path: root/wee_slack.py
diff options
context:
space:
mode:
Diffstat (limited to 'wee_slack.py')
-rw-r--r--wee_slack.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wee_slack.py b/wee_slack.py
index 12b891a..e3df8af 100644
--- a/wee_slack.py
+++ b/wee_slack.py
@@ -1654,7 +1654,7 @@ def unwrap_attachments(message_json, text_before):
if 'pretext' in attachment:
t.append(attachment['pretext'])
if "title" in attachment:
- if attachment["title_link"]:
+ if 'title_link' in attachment:
t.append('%s (%s)' % (attachment["title"], attachment["title_link"],))
else:
t.append(attachment["title"])