dever 4 years ago
parent
commit
5ca4791551
1 changed files with 1 additions and 1 deletions
  1. 1 1
      demeter/mqtt.py

+ 1 - 1
demeter/mqtt.py

@@ -93,7 +93,7 @@ class Pub(object):
 class Sub(object):
 
 	def __init__(self, topic=False):
-		Connect(self, self, topic=topic)
+		Connect(self, topic=topic)
 
 	def __del__(self):
 		pass