Open ENGINEERDK opened 3 hours ago
Currently if Login is not successful the login method do not return the expected response of NOT_OK with reason instead None.
It should result the response, so that Developers could handle and take care according to the reason of login failure.
This statement to return None should be removed from NorenApi.py
if resDict['stat'] != 'Ok': return resDict
This will be sufficient, will help developers catch the reasons for failures.
Currently if Login is not successful the login method do not return the expected response of NOT_OK with reason instead None.
It should result the response, so that Developers could handle and take care according to the reason of login failure.
This statement to return None should be removed from NorenApi.py