diff --git a/hexrdgui/reflections_table.py b/hexrdgui/reflections_table.py index 2fd5e48b8..ad747ba7a 100644 --- a/hexrdgui/reflections_table.py +++ b/hexrdgui/reflections_table.py @@ -109,7 +109,7 @@ def copy_selected_to_clipboard(self): # Write the headers headers = [table.horizontalHeaderItem(j).text() - for j in range(table.columnCount)] + for j in range(table.columnCount())] writer.writerow(headers) # Write the rows