change Queue -> queue (py2->py3)
This commit is contained in:
parent
da1495d642
commit
5d83bf7dc4
@ -3,7 +3,7 @@ Created on Dec 19, 2016
|
|||||||
|
|
||||||
@author: klaehn
|
@author: klaehn
|
||||||
'''
|
'''
|
||||||
import Queue
|
import queue
|
||||||
import threading
|
import threading
|
||||||
import time
|
import time
|
||||||
import paho.mqtt.client as mqtt_client
|
import paho.mqtt.client as mqtt_client
|
||||||
@ -32,7 +32,7 @@ class Mqtt(object):
|
|||||||
self.qos = qos
|
self.qos = qos
|
||||||
self.retain = retain
|
self.retain = retain
|
||||||
self.subscribe = subscribe
|
self.subscribe = subscribe
|
||||||
self.receive_queue = Queue.Queue()
|
self.receive_queue = queue.Queue()
|
||||||
self.rx_sema = threading.Semaphore(0)
|
self.rx_sema = threading.Semaphore(0)
|
||||||
|
|
||||||
def connect(self):
|
def connect(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user