Skip to content

Commit 0483429

Browse files
Revert "feat: changed file extension .txt to .csv"
1 parent bbde9ac commit 0483429

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/etl/extract.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def extract(path: str = "xyz.csv") -> ________: # TODO (Find & Fix)
2121
if not os.path.exists(path):
2222
raise FileNotFoundError(f"❌ File not found: {path}")
2323

24-
if not path.lower().endswith('.csv'):
24+
if not path.lower().endswith('.txt'): # TODO (Find & Fix)
2525
raise ValueError(f"❌ File must be a CSV: {path}")
2626

2727
try:

0 commit comments

Comments
 (0)