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
|
@ -72,7 +72,7 @@ def matrix_to_zulip(
|
|||
"""
|
||||
content = get_message_content_from_event(event, no_noise)
|
||||
|
||||
zulip_bot_user = ('@%s:matrix.org' % matrix_config['username'])
|
||||
zulip_bot_user = '@%s:matrix.org' % (matrix_config['username'],)
|
||||
# We do this to identify the messages generated from Zulip -> Matrix
|
||||
# and we make sure we don't forward it again to the Zulip stream.
|
||||
not_from_zulip_bot = event['sender'] != zulip_bot_user
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue