Skip to content

Commit bee3582

Browse files
Merge pull request #19 from OPCODE-Open-Spring-Fest/revert-17-shreyanshi_csv
Revert "feat: changed file extension .txt to .csv"
2 parents bbde9ac + 0483429 commit bee3582

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)