Merge pull request #133 from gyf9835/patch-1

This commit is contained in:
Eugene 2025-05-23 13:55:08 +02:00 committed by GitHub
commit 16847cea93
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -49,6 +49,7 @@ class Command(BaseCommand):
with tempfile.NamedTemporaryFile("wb") as f: with tempfile.NamedTemporaryFile("wb") as f:
f.write(response.content) f.write(response.content)
f.flush()
plugin_final_target = Path(tempdir) / plugin plugin_final_target = Path(tempdir) / plugin
with tempfile.TemporaryDirectory() as extraction_tmp: with tempfile.TemporaryDirectory() as extraction_tmp: