Skip to content

Commit

Permalink
Fix saving push_notification.conf as suggested by @robbiet480 (home-a…
Browse files Browse the repository at this point in the history
  • Loading branch information
ericwclymer authored and robbiet480 committed Sep 13, 2016
1 parent ca646c0 commit de2eed3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion homeassistant/components/notify/html5.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit de2eed3

Please sign in to comment.