kopia lustrzana https://github.com/Yakifo/amqtt
PEP8
rodzic
d74cdf2665
commit
9dc3615c16
|
@ -61,7 +61,6 @@ class PublishPacket(MQTTPacket):
|
||||||
RETAIN_FLAG = 0x01
|
RETAIN_FLAG = 0x01
|
||||||
QOS_FLAG = 0x06
|
QOS_FLAG = 0x06
|
||||||
|
|
||||||
|
|
||||||
def __init__(self, fixed: MQTTFixedHeader=None, variable_header: PublishVariableHeader=None, payload=None):
|
def __init__(self, fixed: MQTTFixedHeader=None, variable_header: PublishVariableHeader=None, payload=None):
|
||||||
if fixed is None:
|
if fixed is None:
|
||||||
header = MQTTFixedHeader(PacketType.PUBLISH, 0x00)
|
header = MQTTFixedHeader(PacketType.PUBLISH, 0x00)
|
||||||
|
|
Ładowanie…
Reference in New Issue