review fixes

This commit is contained in:
Taylor Wilsdon
2026-02-24 11:20:27 -04:00
parent e1cf0d44da
commit b9524a9090
3 changed files with 5 additions and 5 deletions

View File

@@ -742,7 +742,7 @@ async def create_drive_file(
raise Exception(
f"Unsupported URL scheme '{parsed_url.scheme}'. Only file://, http://, and https:// are supported."
)
elif content:
elif content is not None:
file_data = content.encode("utf-8")
media = io.BytesIO(file_data)