MqttMonitor/MqttClient.py

changeset 64
9d714a6cdfaf
parent 63
1004a9b850a9
child 66
9297e94d7d77
diff -r 1004a9b850a9 -r 9d714a6cdfaf MqttMonitor/MqttClient.py
--- a/MqttMonitor/MqttClient.py	Thu Jan 10 14:21:01 2019 +0100
+++ b/MqttMonitor/MqttClient.py	Sun Jan 20 16:08:38 2019 +0100
@@ -8,6 +8,10 @@
 """
 
 from __future__ import unicode_literals
+try:
+    str = unicode       # __IGNORE_EXCEPTION__
+except NameError:
+    pass
 
 from PyQt5.QtCore import pyqtSignal, pyqtSlot, QObject, QCoreApplication, \
     QTimer

eric ide

mercurial