Skip to content

Commit

Permalink
fix wrong commit from rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
cshanahan1 committed Mar 25, 2024
1 parent e45b5b9 commit f7cf3ab
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions jdaviz/configs/default/plugins/export/export.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,9 +244,8 @@ def export(self, filename=None, show_dialog=None):
self.save_figure(viewer, filename, filetype, show_dialog=show_dialog)

elif len(self.table.selected):

if "." not in filename:
filename += ".ecsv"
if not filename.endswith(filetype):
filename += f".{filetype}"
self.table.selected_obj.export_table(filename, overwrite=True)

elif len(self.subset.selected):
Expand Down

0 comments on commit f7cf3ab

Please sign in to comment.