Browse Source

logging bug-fix

tags/v1.0.0
Dirk Alders 2 years ago
parent
commit
74a981fc1f
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      smart_brain.py

+ 1
- 1
smart_brain.py View File

@@ -12,7 +12,7 @@ if __name__ == "__main__":
12 12
     if config.DEBUG:
13 13
         report.appLoggingConfigure(None, None, ((config.APP_NAME, logging.DEBUG), ), fmt=report.SHORT_FMT, host='localhost', port=19996)
14 14
     else:
15
-        report.stdoutLoggingConfigure(((config.APP_NAME, logging.INFO)), report.SHORT_FMT)
15
+        report.stdoutLoggingConfigure(((config.APP_NAME, logging.INFO), ), report.SHORT_FMT)
16 16
     #
17 17
     mc = mqtt.mqtt_client(host=config.MQTT_SERVER, port=config.MQTT_PORT, username=config.MQTT_USER,
18 18
                           password=config.MQTT_PASSWORD, name=config.APP_NAME)

Loading…
Cancel
Save