Commits

Roger Light  committed ec720e7

Fix incorrect parameters in Python on_log() callback call. Fixes bug #1036818.
Thanks to Michael Frisch.

  • Participants
  • Parent commits 8a87b24

Comments (0)

Files changed (2)

File ChangeLog.txt

 - Fix mqtt/MQTT capitalisation in man pages.
 - Clients now don't display TLS/TLS-PSK usage help if they don't support it.
 - Update compiling.txt.
+- Fix incorrect parameters in Python on_log() callback call. Fixes bug
+  #1036818.
 
 1.0 - 20120814
 ==============

File lib/python/mosquitto.py

 
     def _easy_log(self, level, buf):
         if self.on_log:
-            self.on_log(obj, level, buf)
+            self.on_log(self, self._obj, level, buf)
 
     def _check_keepalive(self):
         now = time.time()