diff --git a/ereuse_devicehub/resources/device/schemas.py b/ereuse_devicehub/resources/device/schemas.py index 2cc8e65d..f1e22d51 100644 --- a/ereuse_devicehub/resources/device/schemas.py +++ b/ereuse_devicehub/resources/device/schemas.py @@ -291,7 +291,8 @@ class Mobile(Device): @pre_load def convert_check_imei(self, data): if data.get('imei', None): - data['imei'] = int(imei.validate(data['imei'])) + # data['imei'] = int(imei.validate(data['imei'])) + data['imei'] = int(data['imei']) return data @pre_load