mirror of
https://github.com/Eugeny/tabby-web.git
synced 2025-06-07 21:19:53 +00:00
Fix tar: invalid magic error when running add_version
This commit is contained in:
parent
abcdfbcd4e
commit
f5b71e6a58
@ -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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user