From ebc51bca37d2b9d42c26f8b6aa3bf65d83d5df87 Mon Sep 17 00:00:00 2001 From: Thomas Mannay Date: Fri, 1 Feb 2019 17:22:24 +0000 Subject: [PATCH] Linting --- src/seddy/tubes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/seddy/tubes.py b/src/seddy/tubes.py index 154dd39..ce07a51 100644 --- a/src/seddy/tubes.py +++ b/src/seddy/tubes.py @@ -34,7 +34,7 @@ class Tube: '''Send a message.''' if message[:7] == '\x01ACTION': with open(self.outgoing, 'w', encoding='utf-8') as send: - sanitised = ''.join(c for c in msg if c.isprintable()) + sanitised = ''.join(c for c in message if c.isprintable()) send.write('PRIVMSG {} :\x01{}\x01\r\n'.format(channel, sanitised)) else: with open(self.outgoing, 'w', encoding='utf-8') as send: