Skip to content

Commit c75f5b3

Browse files
committed
ruff: Fix SIM101 Multiple isinstance calls for val, merge into a single call.
Signed-off-by: Anders Kaseorg <[email protected]>
1 parent 13e860e commit c75f5b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

zulip/zulip/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,7 @@ def do_api_query(
585585
req_files = []
586586

587587
for key, val in orig_request.items():
588-
if isinstance(val, str) or isinstance(val, str):
588+
if isinstance(val, str):
589589
request[key] = val
590590
else:
591591
request[key] = json.dumps(val)

0 commit comments

Comments
 (0)