PluginMqttMonitor.py

changeset 77
a580238d85de
parent 75
5e760c5c20af
child 78
a22328182bc2
equal deleted inserted replaced
76:e276d82bf945 77:a580238d85de
58 try: 58 try:
59 import paho.mqtt 59 import paho.mqtt
60 version = paho.mqtt.__version__ 60 version = paho.mqtt.__version__
61 except ImportError: 61 except ImportError:
62 version = QCoreApplication.translate( 62 version = QCoreApplication.translate(
63 "MqttMonitorPlugin", "package not available") 63 "MqttMonitorPlugin", "(package not available)")
64 64
65 data = { 65 data = {
66 "programEntry": False, 66 "programEntry": False,
67 "header": QCoreApplication.translate("MqttMonitorPlugin", "MQTT"), 67 "header": QCoreApplication.translate("MqttMonitorPlugin", "MQTT"),
68 "text": QCoreApplication.translate("MqttMonitorPlugin", "paho-mqtt"), 68 "text": QCoreApplication.translate("MqttMonitorPlugin", "paho-mqtt"),

eric ide

mercurial