Skip to content

Commit

Permalink
Properly export plot files instead of data files
Browse files Browse the repository at this point in the history
  • Loading branch information
ziotom78 committed Aug 16, 2023
1 parent 33ada93 commit f21b7fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion browse/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -728,7 +728,7 @@ def dump_data_files(configuration: ReleaseDumpConfiguration, data_files):
dest_path = Path("plot_files") / full_plot_file_path(cur_data_file, "").name
cur_entry["plot_file"] = Quoted(dest_path)
cur_entry["plot_mime_type"] = Quoted(cur_data_file.plot_mime_type)
save_attachment(configuration, dest_path, cur_data_file.file_data)
save_attachment(configuration, dest_path, cur_data_file.plot_file)

if cur_data_file.dependencies:
cur_entry["dependencies"] = [
Expand Down

0 comments on commit f21b7fc

Please sign in to comment.