diff --git a/tap_spreadsheets_anywhere/excel_handler.py b/tap_spreadsheets_anywhere/excel_handler.py index bef07b3..eb3c8b2 100644 --- a/tap_spreadsheets_anywhere/excel_handler.py +++ b/tap_spreadsheets_anywhere/excel_handler.py @@ -62,7 +62,7 @@ def get_legacy_row_iterator(table_spec, file_handle): def get_row_iterator(table_spec, file_handle): - workbook = openpyxl.load_workbook(file_handle, read_only=True) + workbook = openpyxl.load_workbook(file_handle.name, read_only=True) if "worksheet_name" in table_spec: try: