Skip to content

Commit

Permalink
Fix a bug in sql/reader/base.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mhauru committed Nov 17, 2023
1 parent a1c2d15 commit 7b9c684
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sql/snsql/sql/reader/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def get_reader_class(cls, engine) -> Type[Reader]:
if str(eng).lower() == engine.lower():
prefix = str(eng)
if prefix == "":
return SqlReader() # should this throw?
return SqlReader # should this throw?
else:
mod_path = f"snsql.sql.reader.{Engine.class_map[prefix]}"
module = importlib.import_module(mod_path)
Expand Down

0 comments on commit 7b9c684

Please sign in to comment.