fix(python): exclude nochanges(4) error in command service request

This commit is contained in:
sshakndr
2024-09-20 18:10:53 +07:00
parent 819faf84f1
commit 62f98954b4

View File

@ -203,7 +203,7 @@ def commandRequest(method, key, meta=None):
verify=config_manager.ssl_verify_peer_mode_enabled(), timeout=5)
error = response.json()["error"]
if not error == 0:
if error not in (4, 0):
raise Exception(f"Command Service Error #{error}")
return response