Skip to content

Commit f69caf6

Browse files
update expection in rating_export.utils.parse_column_specifier
1 parent c52f532 commit f69caf6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

rating_export/utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ def parse_column_specifier(column_spec, headers):
8484
# Буква колонки
8585
return column_letter_to_index(column_spec.upper())
8686

87+
raise ValueError(f"Колонка '{column_spec}' не найдена в {headers}")
8788
raise ValueError(
8889
f"Неподдерживаемый формат ({type(column_spec)}) колонки '{column_spec}'"
8990
)

0 commit comments

Comments
 (0)