diff --git a/jhipster_security_fix.py b/jhipster_security_fix.py index 5ab1d2f3..0b16ae28 100644 --- a/jhipster_security_fix.py +++ b/jhipster_security_fix.py @@ -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)