Skip to content

Commit 814c6dd

Browse files
committed
Fix a bug related to type
1 parent bb3bc9a commit 814c6dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fosslight_oss_pkg/_parsing_excel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def get_sheet_name(yaml_file, sheet_list):
2222
yaml_file = yaml_file[0:MAX_SHEET_NAME_LEN]
2323

2424
count = 1
25-
while yaml_file in sheet_list:
25+
while yaml_file in sheet_list.keys():
2626
end_idx = MAX_SHEET_NAME_LEN - 1 - len(str(count))
2727
yaml_file = f"{yaml_file[0:end_idx]}_{count}"
2828
count += 1

0 commit comments

Comments
 (0)