You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the loop breaks because of is_connect() == True. However, you should be aware that once you fix the bug mentioned above, you must also check whether path.startswith(TO_C_REFRESH_TOKEN_API).
The text was updated successfully, but these errors were encountered:
tuya-iot-python-sdk/tuya_iot/openapi.py
Line 144 in 83f1e99
But
is_connect()
never check if the token is expired.Besides, this bug needs more than a one-line fix. You have another hidden problem in your code:
Currently the loop breaks because of
is_connect() == True
. However, you should be aware that once you fix the bug mentioned above, you must also check whetherpath.startswith(TO_C_REFRESH_TOKEN_API)
.The text was updated successfully, but these errors were encountered: