mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 22:43:42 +00:00
python: Convert percent formatting to Python 3.6 f-strings.
Generated by pyupgrade --py36-plus. Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
6480deaf27
commit
67e7a3631d
@@ -888,7 +888,7 @@ def upload_file(client: Client) -> None:
|
||||
"type": "stream",
|
||||
"to": "Denmark",
|
||||
"topic": "Castle",
|
||||
"content": "Check out [this picture](%s) of my castle!" % (result['uri'],)
|
||||
"content": "Check out [this picture]({}) of my castle!".format(result['uri'])
|
||||
})
|
||||
# {code_example|end}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user