diff --git a/MicroPython/src/communication/API_communication.py b/MicroPython/src/communication/API_communication.py index 19283af..108e004 100644 --- a/MicroPython/src/communication/API_communication.py +++ b/MicroPython/src/communication/API_communication.py @@ -26,7 +26,7 @@ def authorization_request() -> str: logging.info("Failed to authorize in API {}".format(e)) return None - if response.status_code != '200': #and response.status_code != 200: + if response.status_code != '200' and response.status_code != 200: logging.error(response.text) return None