mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-12 19:38:57 +00:00
Fix export project test.
This commit is contained in:
parent
22db13d2bf
commit
233e41d006
@ -263,6 +263,6 @@ def _export_remote_images(project, compute_id, image_type, image, project_zipfil
|
||||
f.write(data)
|
||||
response.close()
|
||||
f.close()
|
||||
arcname = os.path.join("images", image_type.upper(), image)
|
||||
arcname = os.path.join("images", image_type, image)
|
||||
log.info("Saved {}".format(arcname))
|
||||
project_zipfile.write(temp_path, arcname=arcname, compress_type=zipfile.ZIP_DEFLATED)
|
||||
|
Loading…
Reference in New Issue
Block a user