Skip to content

Commit

Permalink
merge
Browse files Browse the repository at this point in the history
Signed-off-by: ParkSangsin <[email protected]>
  • Loading branch information
ParkSangsin committed Aug 25, 2024
2 parents a1d9fd1 + 7de8027 commit f1cd979
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fosslight_oss_pkg/_parsing_excel.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def get_sheet_name(yaml_file: str, sheet_list: Dict[str, list]) -> str:
yaml_file = yaml_file[0:MAX_SHEET_NAME_LEN]

count = 1
while yaml_file in sheet_list:
while yaml_file in sheet_list.keys():
end_idx = MAX_SHEET_NAME_LEN - 1 - len(str(count))
yaml_file = f"{yaml_file[0:end_idx]}_{count}"
count += 1
Expand Down

0 comments on commit f1cd979

Please sign in to comment.