Skip to content

Commit bfe9ead

Browse files
committed
🐛 fix invalid column_type error message
1 parent b17c406 commit bfe9ead

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sqlite3_to_mysql/transporter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ def _translate_type_from_sqlite_to_mysql(self, column_type: str) -> str:
251251
full_column_type: str = column_type.upper()
252252
match: t.Optional[t.Match[str]] = self._valid_column_type(column_type)
253253
if not match:
254-
raise ValueError(f'"${column_type}" is not a valid column_type!')
254+
raise ValueError(f'"{column_type}" is not a valid column_type!')
255255

256256
data_type: str = match.group(0).upper()
257257
if data_type in {"TEXT", "CLOB", "STRING"}:

0 commit comments

Comments
 (0)