Update Docker/src/python/tHome/broker/connect.py
All checks were successful
Build and publish Image / build-and-push (push) Successful in 15s
All checks were successful
Build and publish Image / build-and-push (push) Successful in 15s
This commit is contained in:
@@ -7,10 +7,10 @@ from . import config
|
||||
import paho.mqtt.client as mqtt
|
||||
|
||||
#===========================================================================
|
||||
class Client( mqtt.Client(mqtt.CallbackAPIVersion.VERSION1) ):
|
||||
class Client( mqtt.Client ):
|
||||
"""Logging client
|
||||
"""
|
||||
def __init__( self, log=None ):
|
||||
def __init__( mqtt.CallbackAPIVersion.VERSION1, self, log=None ):
|
||||
mqtt.Client.__init__( self )
|
||||
self._logger = log
|
||||
# Restore callbacks overwritten by stupid mqtt library
|
||||
|
||||
Reference in New Issue
Block a user