PluginMqttMonitor.py

branch
eric7
changeset 143
51bc5bcc672a
parent 141
864edfb1bb63
child 145
3f8e91170c37
--- a/PluginMqttMonitor.py	Sat Jan 06 13:11:01 2024 +0100
+++ b/PluginMqttMonitor.py	Fri Apr 19 15:15:01 2024 +0200
@@ -39,7 +39,7 @@
 author = "Detlev Offenbach <detlev@die-offenbachs.de>"
 autoactivate = True
 deactivateable = True
-version = "10.5.0"
+version = "11.0.0"
 className = "MqttMonitorPlugin"
 packageName = "MqttMonitor"
 shortDescription = "Plug-in implementing a tool to connect to a MQTT broker"
@@ -61,12 +61,12 @@
 
 
 def createMqttPage(
-    configDlg,  # noqa: U100
+    _configDlg,
 ):
     """
     Module function to create the autocompletion configuration page.
 
-    @param configDlg reference to the configuration dialog
+    @param _configDlg reference to the configuration dialog (unused)
     @type ConfigurationWidget
     @return reference to the configuration page
     @rtype AutoCompletionRopePage
@@ -365,7 +365,7 @@
     try:
         import paho.mqtt  # __IGNORE_WARNING__
     except ImportError:
-        pipInstall(["paho-mqtt"])
+        pipInstall(["paho-mqtt>=2.0.0"])
 
 
 #

eric ide

mercurial