We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 355a55f commit 97fd035Copy full SHA for 97fd035
aiohasupervisor/backups.py
@@ -123,7 +123,7 @@ async def upload_backup(
123
if options:
124
if options.location:
125
for location in options.location:
126
- params.add("location", location or "")
+ params.add("location", location)
127
if options.filename:
128
params.add("filename", options.filename.as_posix())
129
@@ -145,7 +145,7 @@ async def download_backup(
145
"""Download backup and return stream."""
146
params = MultiDict()
147
if options and options.location:
148
- params.add("location", options.location or "")
+ params.add("location", options.location)
149
150
result = await self._client.get(
151
f"backups/{backup}/download",
0 commit comments