mirror of
https://github.com/fastapi-practices/fastapi-best-architecture.git
synced 2026-09-21 21:15:13 +00:00
Fix async install plugin dependencies for windows (#549)
This commit is contained in:
@@ -64,7 +64,7 @@ async def install_plugin(file: Annotated[UploadFile, File()]) -> ResponseModel:
|
||||
members.append(member)
|
||||
zf.extractall(PLUGIN_DIR, members)
|
||||
if os.path.exists(os.path.join(full_plugin_path, 'requirements.txt')):
|
||||
await install_requirements_async(False)
|
||||
await install_requirements_async()
|
||||
|
||||
return response_base.success()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user