From e80b200a316ebfbd88b494a4811d688fc7a611bc Mon Sep 17 00:00:00 2001 From: Anna Schumaker Date: Fri, 29 May 2015 08:46:07 -0400 Subject: [PATCH] slackmail: Remove newline at beginning of message It's not really needed for anything, and may make parsing more difficult. Signed-off-by: Anna Schumaker --- slackmail.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slackmail.py b/slackmail.py index c693c5d..26eac46 100644 --- a/slackmail.py +++ b/slackmail.py @@ -19,7 +19,7 @@ for channel in slack.channels.list(): continue chan = ("channel=%s" % channel.id()).rjust(40) - text = [ "", "%s%s" % (repl, chan), ""] + text = [ "%s%s" % (repl, chan), ""] text += [ str(channel) ] + [ "" ] for message in channel.read(): text += [ str(message) ]