Upgrade shodan to 1.20.0 (#28983)

* Upgrade shodan to 1.20.0

* Upgrade mutagen to 1.43.0
This commit is contained in:
Fabian Affolter authored and cgtobi committed 2019-11-23 23:12:02 +01:00
1 parent 98eae305e2
commit bbca6e3ac2
3 files changed
+5 -5

No files matched your search

+3 -3
View File
@@ -1,4 +1,4 @@
"""Provide functionality to TTS."""
"""Provide functionality for TTS."""
import asyncio
import ctypes
import functools as ft
@@ -353,7 +353,7 @@ class SpeechManager:
raise HomeAssistantError(f"No TTS from {engine} for '{message}'")
# Create file infos
filename = (f"{key}.{extension}").lower()
filename = f"{key}.{extension}".lower()
data = self.write_tags(filename, data, provider, message, language, options)
@@ -438,7 +438,7 @@ class SpeechManager:
await self.async_file_to_mem(key)
content, _ = mimetypes.guess_type(filename)
return (content, self.mem_cache[key][MEM_CACHE_VOICE])
return content, self.mem_cache[key][MEM_CACHE_VOICE]
@staticmethod
def write_tags(filename, data, provider, message, language, options):