diff options
author | nicolargo <nicolashennion@gmail.com> | 2020-01-11 11:30:06 +0100 |
---|---|---|
committer | nicolargo <nicolashennion@gmail.com> | 2020-01-11 11:30:06 +0100 |
commit | a7a420364166ee487ff10a7db799a4e878121a26 (patch) | |
tree | f10973079f9859762a0c42a322c6f2fcee494899 | |
parent | ecb9db9c868ec753b2cb71293c22663c203c4192 (diff) |
Can start glances with MQTT export #1581
-rw-r--r-- | glances/exports/glances_mqtt.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/glances/exports/glances_mqtt.py b/glances/exports/glances_mqtt.py index 21a5e710..2aa5b8b2 100644 --- a/glances/exports/glances_mqtt.py +++ b/glances/exports/glances_mqtt.py @@ -57,7 +57,7 @@ class Export(GlancesExport): self.port = int(self.port) or 8883 self.topic = self.topic or 'glances' self.user = self.user or 'glances' - self.tls = (self.tls.lower() == 'true') + self.tls = (self.tls and self.tls.lower() == 'true') # Init the MQTT client self.client = self.init() |