Update __init__.py

This commit is contained in:
tkl 2018-02-04 12:55:40 +00:00
parent 93765f6762
commit 39329f549f

View File

@ -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