Skip to content
Snippets Groups Projects
Commit d067cb50 authored by Zahari's avatar Zahari
Browse files

Fix fit compressing

parent 8b797d39
No related branches found
Tags 3.3
No related merge requests found
......@@ -184,7 +184,7 @@ class FitUploader(FileUploader):
try:
shutil.make_archive(base_name=archive_path_without_extension,
format='gztar',
root_dir=output_path.parent, base_dir=output_path)
root_dir=output_path.parent, base_dir=output_path.name)
except Exception as e:
log.error(f"Couldn't compress archive: {e}")
raise UploadError(e) from e
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment