diff options
-rwxr-xr-x | weather-logger-receiver | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/weather-logger-receiver b/weather-logger-receiver index 5f7cd1b..b63dca7 100755 --- a/weather-logger-receiver +++ b/weather-logger-receiver @@ -84,7 +84,7 @@ def write_pid_file(pid_file_path, logger): def load_config(config_file_path, logger): with open(config_file_path, "r") as f: config = yaml.safe_load(f.read()) - logger.info(f"Loaded configuration from '{config_file_path}'") + logger.info(f"Loaded configuration from \"{config_file_path}\"") return config @@ -106,19 +106,19 @@ if __name__ == "__main__": # get known devices active_location = config["active_location"] known_devices = config["locations"][active_location] - logger.info(f"Loaded known devices for location '{active_location}'") + logger.info(f"Loaded known devices for location \"{active_location}\"") # write pid file write_pid_file(config["pid_file_path"], logger) - logger.info("Wrote PID file to '{config{'pid_file_path']}'") + logger.info("Wrote PID file to \"{config{'pid_file_path']}\"") # database setup db_connection = setup_database(config["database_path"], logger) - logger.info("Set up database '{config['database_path']}'") + logger.info("Set up database \"{config['database_path']}\"") # serial connection setup serial_connection = setup_serial(config["device_path"]) - logger.info("Set up serial connection to '{config['device_path']}'") + logger.info("Set up serial connection to \"{config['device_path']}\"") # handle shutdown def shutdown(*args): |