Skip to content

Commit

Permalink
Consistent quoting
Browse files Browse the repository at this point in the history
  • Loading branch information
kylegordon committed Sep 28, 2012
1 parent 205c365 commit db8d569
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions mqtt-republisher.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit db8d569

Please sign in to comment.