From 82dcbed4763e99e29938b28e9ae00740ed19864a Mon Sep 17 00:00:00 2001 From: Jan Philipp Timme Date: Sun, 25 Oct 2015 12:56:07 +0100 Subject: [PATCH] [TASK] Add single quotes to Message representation. --- irc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/irc.py b/irc.py index 7fda7af..711e547 100644 --- a/irc.py +++ b/irc.py @@ -69,7 +69,7 @@ class Message(object): for key in items: if key == "data": continue - e.append(key+"="+str(items[key])) + e.append(key+"='"+str(items[key])+"'") return "<" + self.__class__.__name__ + " " + ", ".join(e) + ">" def __str__(self):