Skip to content

Commit

Permalink
import ads: accept spaces in siret
Browse files Browse the repository at this point in the history
  • Loading branch information
brmzkw committed Jul 26, 2024
1 parent 6d78723 commit dda5306
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mesads/app/management/commands/import_ads.py
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,7 @@ def parse_owner_name(self, cols, idx):
return cols[idx] or ""

def parse_siret(self, cols, idx):
siret = str(cols[idx]).strip()
siret = "".join(str(cols[idx]).strip().split())
if siret == "None":
return ""
if siret:
Expand Down

0 comments on commit dda5306

Please sign in to comment.