Skip to content

Commit

Permalink
Fix NameError, ImportError to just ImportError
Browse files Browse the repository at this point in the history
made the same mistake I did the first time ... *sigh*
  • Loading branch information
mzpqnxow committed May 11, 2022
1 parent 1ad5136 commit a634ba8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sqlacodegen/generators.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@

try:
from citext import CIText
except (NameError, ImportError):
except ImportError:
pass

_sqla_version = tuple(int(x) for x in version("sqlalchemy").split(".")[:2])
Expand Down

0 comments on commit a634ba8

Please sign in to comment.