Clarify comment in google photos upload service (#125042)

This commit is contained in:
Allen Porter 2024-09-01 21:49:38 -07:00 committed by GitHub
parent 99f43400bf
commit 9fff3a13a5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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):