stevecope / mqtt-data-logger

Logs MQTT Data to a file
MIT License
28 stars 21 forks source link

Error when executing from console #3

Open morris178 opened 6 years ago

morris178 commented 6 years ago

Running python3 mqtt-data-logger.py -b 192.168.178.62 -t cistern/# -s

will fail with this output. I am running Debian Stretch

Traceback (most recent call last):
  File "mqtt-data-logger.py", line 16, in <module>
    import mlogger as mlogger
  File "/home/morris/mqtt-data-logger/mlogger.py", line 44
    using the timestamp for the name"""   
                                      ^
IndentationError: expected an indented block
morris178 commented 6 years ago

4 resolved the issue for me