Skip to content

Commit

Permalink
🐛 fix invalid column_type error message
Browse files Browse the repository at this point in the history
  • Loading branch information
techouse committed Dec 6, 2023
1 parent 2f5c97f commit 2d4240a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mysql_to_sqlite3/transporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ def _translate_type_from_mysql_to_sqlite(
# This could be optimized even further, however is seems adequate.
match: t.Optional[t.Match[str]] = cls._valid_column_type(_column_type)
if not match:
raise ValueError(f'"${_column_type}" is not a valid column_type!')
raise ValueError(f'"{_column_type}" is not a valid column_type!')

data_type: str = match.group(0).upper()

Expand Down

0 comments on commit 2d4240a

Please sign in to comment.