Rename the old CORE Customer model, to CustData
it now has a new Customer model, so we use that where we can
This commit is contained in:
parent
fe986f8e4d
commit
29166f4b1e
3 changed files with 5 additions and 5 deletions
|
@ -102,7 +102,7 @@ class CustomerImporter(FromCOREPOSAPI, importing.model.CustomerImporter):
|
|||
if customer:
|
||||
customers[dbcust.card_number] = customer
|
||||
else:
|
||||
logger = log.warning if dbcust.person_number == 1 else log.debug
|
||||
logger = log.warning if dbcust.account_holder else log.debug
|
||||
logger("could not fetch customer from CORE API: %s",
|
||||
dbcust.card_number)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue