kopia lustrzana https://github.com/Yakifo/amqtt
fixed flake8 typo
rodzic
3b9362c75d
commit
05b86e2f1e
|
@ -171,10 +171,9 @@ class ConnectPayload(MQTTPayload):
|
|||
if (payload.client_id is None or payload.client_id == ""):
|
||||
# A Server MAY allow a Client to supply a ClientId that has a length of zero bytes
|
||||
# [MQTT-3.1.3-6]
|
||||
payload.client_id=gen_client_id();
|
||||
payload.client_id = gen_client_id()
|
||||
# indicator to trow exception in case CLEAN_SESSION_FLAG is set to False
|
||||
payload.client_id_is_random=True;
|
||||
|
||||
payload.client_id_is_random = True
|
||||
|
||||
# Read will topic, username and password
|
||||
if variable_header.will_flag:
|
||||
|
|
Ładowanie…
Reference in New Issue