Skip to content

Commit 3b24837

Browse files
committed
hotfix delete dbapi module from connection string
1 parent e927d7b commit 3b24837

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ede/ede/insertCSVtoSQLite.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ def dict_factory(self, rows, tbl) -> Dict:
158158
def transferCSVToSQL_withPandas(self, path_to_dir_csv_file, DB_NAME: str, secPhase: str) -> bool:
159159
_r = True
160160
engine = create_engine(
161-
f"sqlite+pysqlcipher://:{secPhase}@/{DB_NAME}?cipher=aes-256-cfb&kdf_iter=64000",module=dbapi2)
161+
f"sqlite+pysqlcipher://:{secPhase}@/{DB_NAME}?cipher=aes-256-cfb&kdf_iter=64000")
162162
conn = engine.connect()
163163
for root, dirs, files in os.walk(path_to_dir_csv_file, topdown=False):
164164
for name in files:

0 commit comments

Comments
 (0)