change Queue -> queue (py2->py3)
This commit is contained in:
		@@ -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):
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user