From 39329f549fc15dc88ec881c0c7f4e8373cc2efd5 Mon Sep 17 00:00:00 2001 From: tkl Date: Sun, 4 Feb 2018 12:55:40 +0000 Subject: [PATCH] Update __init__.py --- mqtt_logger/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mqtt_logger/__init__.py b/mqtt_logger/__init__.py index 218fac6..5f94c63 100644 --- a/mqtt_logger/__init__.py +++ b/mqtt_logger/__init__.py @@ -19,7 +19,7 @@ def main(): Entry point for mqtt logger. ''' logging.basicConfig(format=LOG_FORMAT, filename=OWN_LOG_FILE) - conn = mqtt.Mqtt(hostname='e320', subscribe=['#']) + conn = mqtt.Mqtt(hostname='localhost', subscribe=['#']) if conn.connect() is False: logging.error('couldn\'t connect...') return 1