From fe986f8e4de7ae1b8b0fc98b6f56f5d638321e13 Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Mon, 16 Mar 2020 16:05:48 -0500 Subject: [PATCH] No need to convert cardNo to an int, since it already is --- rattail_corepos/importing/corepos/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rattail_corepos/importing/corepos/api.py b/rattail_corepos/importing/corepos/api.py index 29e1ec7..ea54eab 100644 --- a/rattail_corepos/importing/corepos/api.py +++ b/rattail_corepos/importing/corepos/api.py @@ -125,7 +125,7 @@ class CustomerImporter(FromCOREPOSAPI, importing.model.CustomerImporter): return { 'id': customer['customerAccountID'], - 'number': int(customer['cardNo']), + 'number': customer['cardNo'], 'name': normalize_full_name(person['firstName'], person['lastName']), 'first_name': person['firstName'],