MqttMonitor/MqttClient.py

changeset 64
9d714a6cdfaf
parent 63
1004a9b850a9
child 66
9297e94d7d77
equal deleted inserted replaced
63:1004a9b850a9 64:9d714a6cdfaf
6 """ 6 """
7 Module implementing a PyQt wrapper around the paho MQTT client. 7 Module implementing a PyQt wrapper around the paho MQTT client.
8 """ 8 """
9 9
10 from __future__ import unicode_literals 10 from __future__ import unicode_literals
11 try:
12 str = unicode # __IGNORE_EXCEPTION__
13 except NameError:
14 pass
11 15
12 from PyQt5.QtCore import pyqtSignal, pyqtSlot, QObject, QCoreApplication, \ 16 from PyQt5.QtCore import pyqtSignal, pyqtSlot, QObject, QCoreApplication, \
13 QTimer 17 QTimer
14 18
15 import paho.mqtt.client as mqtt 19 import paho.mqtt.client as mqtt

eric ide

mercurial