Skip to content

Commit 9f0867b

Browse files
Renaud Barraujameshilliard
authored andcommitted
[fix] Add await as store.get_temp_dir() is an async coroutine.
1 parent a309382 commit 9f0867b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

goosebit/ui/bff/software/routes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ async def post_update(
8181
await create_software_update(url, None)
8282
else:
8383
# local file
84-
temp_dir = Path(storage.get_temp_dir())
84+
temp_dir = Path(await storage.get_temp_dir())
8585

8686
try:
8787
file_path = await validate_filename(filename, temp_dir)

0 commit comments

Comments
 (0)