Skip to content

Commit

Permalink
Replaces is operator with == for literal or new object comparisons
Browse files Browse the repository at this point in the history
  • Loading branch information
pixeebot committed Feb 1, 2024
1 parent acbcb72 commit e20fe34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jhipster_security_fix.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ async def do_retry(exception: Optional[Exception]) -> str:
data=file_contents,
timeout=self.timeout
)
if response.status_code is 200:
if response.status_code == 200:
return response.text
else:
return await do_retry(None)
Expand Down

0 comments on commit e20fe34

Please sign in to comment.