Skip to content

Commit bbde9ac

Browse files
Merge pull request #17 from Shreyanshi210205/shreyanshi_csv
feat: changed file extension .txt to .csv
2 parents 32e1b96 + ba2ef1c commit bbde9ac

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

2727
try:

0 commit comments

Comments
 (0)