Skip to content

Commit

Permalink
Small improvements for basket import.
Browse files Browse the repository at this point in the history
  • Loading branch information
Theophile-Madet committed Oct 22, 2023
1 parent 53e399c commit 893f02f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def process_file(cls, file: SFTPFile, file_name: str):
)
for row in csv.DictReader(file, delimiter=",", quotechar='"'):
row: Dict
if not row["Kunde"].startswith("299"):
if row["Kunde"].isnumeric() and not row["Kunde"].startswith("299"):
continue
purchase_date = get_timezone_aware_datetime(
date=datetime.datetime.strptime(
Expand Down

0 comments on commit 893f02f

Please sign in to comment.