Permalink
Browse files

Read the port, not the host

  • Loading branch information...
1 parent c38fbf5 commit d4217db556cfe8a416072a0ea5a4dce5ca3d3fdb @kylegordon committed Sep 28, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 mqtt-republisher.py
View
@@ -24,7 +24,7 @@
LOGFILE = config.get("global", "logfile")
MAPFILE = config.get("global", "mapfile")
MQTT_HOST = config.get("global", "mqtt_host")
-MQTT_PORT = config.get("global", "mqtt_host")
+MQTT_PORT = config.get("global", "mqtt_port")
client_id = "Republisher_%d" % os.getpid()
mqttc = mosquitto.Mosquitto(client_id)

0 comments on commit d4217db

Please sign in to comment.