Fixed zip builder data path
This commit is contained in:
parent
b71df382b0
commit
b948174936
1 changed files with 1 additions and 1 deletions
|
|
@ -109,7 +109,7 @@ class ZipManager:
|
||||||
# Add to ZIP file if it exists
|
# Add to ZIP file if it exists
|
||||||
file_path = capture_obj.file
|
file_path = capture_obj.file
|
||||||
rel_path = os.path.relpath(
|
rel_path = os.path.relpath(
|
||||||
file_path, microscope.camera.paths["default"]
|
file_path, microscope.captures.paths["default"]
|
||||||
)
|
)
|
||||||
zipObj.write(file_path, arcname=rel_path)
|
zipObj.write(file_path, arcname=rel_path)
|
||||||
# Update task progress
|
# Update task progress
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue