Skip to content
Snippets Groups Projects
Commit de2eed3c authored by Eric Clymer's avatar Eric Clymer Committed by Robbie Trencheny
Browse files

Fix saving push_notification.conf as suggested by @robbiet480 (#3382)

parent ca646c08
No related branches found
No related tags found
No related merge requests found
......@@ -144,7 +144,7 @@ def _save_config(filename, config):
"""Save configuration."""
try:
with open(filename, 'w') as fdesc:
fdesc.write(json.dumps(config, indent=4, sort_keys=True))
fdesc.write(json.dumps(config))
except (IOError, TypeError) as error:
_LOGGER.error('Saving config file failed: %s', error)
return False
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment