Fix % formatting without a tuple.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
parent
edcb894776
commit
5b5fda2354
8 changed files with 18 additions and 18 deletions
|
@ -64,7 +64,7 @@ class IRCBot(irc.bot.SingleServerIRCBot):
|
|||
in_the_specified_stream = msg["display_recipient"] == self.stream
|
||||
at_the_specified_subject = msg["subject"].casefold() == self.topic.casefold()
|
||||
if in_the_specified_stream and at_the_specified_subject:
|
||||
msg["content"] = ("@**%s**: " % msg["sender_full_name"]) + msg["content"]
|
||||
msg["content"] = ("@**%s**: " % (msg["sender_full_name"],)) + msg["content"]
|
||||
send = lambda x: self.c.privmsg(self.channel, x)
|
||||
else:
|
||||
return
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue