Skip to content

Commit c88b339

Browse files
committed
Debug messaging [ci skip]
1 parent ec1abc6 commit c88b339

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripts/migrate_to_sqlite

+2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/usr/bin/env python
2+
import os
23
from pathlib import Path
34

45
import pandas as pd
@@ -42,6 +43,7 @@ if __name__ == "__main__":
4243
if merged_files:
4344
model_list = [Clone, Paths, Referrer, Traffic]
4445
for file, model in zip(merged_files, model_list):
46+
os.system(f"head -5 {file.name}")
4547
db.migrate_csv(file, model=model, engine=engine)
4648
else:
4749
log.info("No merged files to migrate!")

0 commit comments

Comments
 (0)