Skip to content

Commit

Permalink
One more
Browse files Browse the repository at this point in the history
  • Loading branch information
Kraust committed Aug 10, 2024
1 parent eb36bc0 commit e8e6c62
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions OSCRUI/datafunctions.py
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ def copy_analysis_callback(self):
if column != 0:
cell_data = selected_cell.internalPointer().get_data(column)
selection_dict[row_name][column] = cell_data
output = ['OSCR | ']
output = ['{ OSCR }']
for row_name, row_data in selection_dict.items():
formatted_row = list()
for col, value in row_data.items():
Expand Down Expand Up @@ -372,7 +372,7 @@ def copy_analysis_callback(self):
magnitudes.append((player_item.get_data(2), ''.join(player_item.get_data(0))))
magnitudes.sort(key=lambda x: x[0], reverse=True)
magnitudes = [f"`[{''.join(player)}]` {magnitude:,.2f}" for magnitude, player in magnitudes]
output_string = (f'OSCR | {prefix}: {" | ".join(magnitudes)}')
output_string = (f'{{ OSCR }} {prefix}: {" | ".join(magnitudes)}')
self.app.clipboard().setText(output_string)
elif copy_mode == self._('Magnitude / s'):
if current_tab == 0:
Expand Down

0 comments on commit e8e6c62

Please sign in to comment.