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

This commit is contained in:
Eric Clymer authored and Robbie Trencheny committed 2016-09-13 14:22:55 -07:00
1 parent ca646c08c2
commit de2eed3c9f
1 file changed
+1 -1
+1 -1
View File
@@ -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