Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
CharlesBlonde authored and dethpickle committed Aug 18, 2017
1 parent 1fd7fa1 commit 929d3f6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion homeassistant/components/tts/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,9 @@ def async_get_url(self, engine, message, cache=None, language=None,

# Options
if provider.default_options and options:
options = provider.default_options.copy().update(options)
merged_options = provider.default_options.copy()
merged_options.update(options)
options = merged_options
options = options or provider.default_options
if options is not None:
invalid_opts = [opt_name for opt_name in options.keys()
Expand Down

0 comments on commit 929d3f6

Please sign in to comment.