mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 21:13:36 +00:00
python: Remove default "utf8" argument for encode(), decode().
Partially generated by pyupgrade. Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
1760897a8c
commit
ad5f0c05b5
@@ -36,7 +36,7 @@ for tag in [t["name"] for t in resp.json()]:
|
||||
f"https://raw.githubusercontent.com/zulip/zulip/{tag}/zproject/prod_settings_template.py",
|
||||
)
|
||||
if resp.status_code == 200:
|
||||
templ[tag] = resp.content.decode("utf-8")
|
||||
templ[tag] = resp.content.decode()
|
||||
else:
|
||||
print("Failure: ")
|
||||
print(resp)
|
||||
|
||||
Reference in New Issue
Block a user