Clarify comment in google photos upload service (#125042)
This commit is contained in:
parent
99f43400bf
commit
9fff3a13a5
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ UPLOAD_SERVICE_SCHEMA = vol.Schema(
|
|||
def _read_file_contents(
|
||||
hass: HomeAssistant, filenames: list[str]
|
||||
) -> list[tuple[str, bytes]]:
|
||||
"""Read the mime type and contents from each filen."""
|
||||
"""Return the mime types and file contents for each file."""
|
||||
results = []
|
||||
for filename in filenames:
|
||||
if not hass.config.is_allowed_path(filename):
|
||||
|
|
Loading…
Add table
Reference in a new issue