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 2019-11-23 23:12:02 +01:00 committed by cgtobi
parent 98eae305e2
commit bbca6e3ac2
3 changed files with 5 additions and 5 deletions

View File

@ -3,7 +3,7 @@
"name": "Shodan", "name": "Shodan",
"documentation": "https://www.home-assistant.io/integrations/shodan", "documentation": "https://www.home-assistant.io/integrations/shodan",
"requirements": [ "requirements": [
"shodan==1.19.1" "shodan==1.20.0"
], ],
"dependencies": [], "dependencies": [],
"codeowners": [ "codeowners": [

View File

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

View File

@ -1782,7 +1782,7 @@ sense_energy==0.7.0
sharp_aquos_rc==0.3.2 sharp_aquos_rc==0.3.2
# homeassistant.components.shodan # homeassistant.components.shodan
shodan==1.19.1 shodan==1.20.0
# homeassistant.components.simplepush # homeassistant.components.simplepush
simplepush==1.1.4 simplepush==1.1.4