Permalink
Browse files

Consistent quoting

  • Loading branch information...
kylegordon committed Sep 28, 2012
1 parent 205c365 commit db8d56995307a3351dd2d00a1a91ee7cc29fb33d
Showing with 6 additions and 6 deletions.
  1. +6 −6 mqtt-republisher.py
View
@@ -17,14 +17,14 @@
# Read the config file
config = ConfigParser.RawConfigParser()
-config.read('/etc/mqtt-republisher/mqtt-republisher.cfg')
+config.read("/etc/mqtt-republisher/mqtt-republisher.cfg")
#Use ConfigParser to pick out the settings
-DEBUG = config.getboolean('global', 'debug')
-LOGFILE = config.get('global', 'logfile')
-MAPFILE = config.get('global', 'mapfile')
-MQTT_HOST = config.get('global', 'mqtt_host')
-MQTT_PORT = config.get('global', 'mqtt_host')
+DEBUG = config.getboolean("global", "debug")
+LOGFILE = config.get("global", "logfile")
+MAPFILE = config.get("global", "mapfile")
+MQTT_HOST = config.get("global", "mqtt_host")
+MQTT_PORT = config.get("global", "mqtt_host")
client_id = "Republisher_%d" % os.getpid()
mqttc = mosquitto.Mosquitto(client_id)

0 comments on commit db8d569

Please sign in to comment.