Fix client id pattern

pull/8/head
Nico 2015-11-06 21:33:39 +01:00
rodzic e5a05d57f7
commit 0e2d0c4a8a
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -52,7 +52,7 @@ def _gen_client_id():
import socket
pid = os.getpid()
hostname = socket.gethostname()
return "hbmqtt_pub/%d-%s" % (pid, hostname)
return "hbmqtt_sub/%d-%s" % (pid, hostname)
def _get_qos(arguments):