mirror of
https://github.com/Eugeny/tabby-web.git
synced 2025-07-28 05:28:35 +00:00
Fix tar: invalid magic error when running add_version
This commit is contained in:
@@ -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:
|
||||||
|
Reference in New Issue
Block a user