From de2eed3c9ffb9ba61359547a87527a4c24f64713 Mon Sep 17 00:00:00 2001 From: Eric Clymer <eric.w.clymer@gmail.com> Date: Tue, 13 Sep 2016 16:22:55 -0500 Subject: [PATCH] Fix saving push_notification.conf as suggested by @robbiet480 (#3382) --- homeassistant/components/notify/html5.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/notify/html5.py b/homeassistant/components/notify/html5.py index 103ccc7885b..6ee60512631 100644 --- a/homeassistant/components/notify/html5.py +++ b/homeassistant/components/notify/html5.py @@ -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 -- GitLab