mirror of
https://github.com/MadsLorentzen/ai-job-search.git
synced 2026-11-02 13:12:50 +00:00
fix(salary): skip chart-only workbook tabs (#590)
* fix(salary): skip chart-only workbook tabs * docs(changelog): record fix for #590
This commit is contained in:
1 parent
b7be711ca5
commit
652508a929
3 files changed
+72
-4
No files matched your search
@@ -382,10 +382,9 @@ def main():
|
||||
wb = openpyxl.load_workbook(excel_path, read_only=True, data_only=True)
|
||||
|
||||
all_companies = []
|
||||
for sheet_name in wb.sheetnames:
|
||||
print(f" Parsing sheet: {sheet_name}")
|
||||
ws = wb[sheet_name]
|
||||
companies = parse_sheet(ws, sheet_label=sheet_name)
|
||||
for ws in wb.worksheets:
|
||||
print(f" Parsing sheet: {ws.title}")
|
||||
companies = parse_sheet(ws, sheet_label=ws.title)
|
||||
all_companies.extend(companies)
|
||||
|
||||
wb.close()
|
||||
|
||||
Reference in new issue
Block a user