Fix None unsted of null

develop
Matthieu DUVAL 1 year ago
parent 61af626207
commit c1497f0b00

@ -496,7 +496,7 @@ class GeoRideTracker(metaclass=JsonMgtMetaClass): # pylint: disable=R0904,R0902
cls.json_field_protect(json,'autoLockFreezedTo'),
cls.json_field_protect(json,'fixtime'),
cls.json_field_protect(json,'role', "owner"),
cls.json_field_protect(json,'lastPaymentDate', null),
cls.json_field_protect(json,'lastPaymentDate', None),
cls.json_field_protect(json,'giftCardId'),
cls.json_field_protect(json,'expires'),
cls.json_field_protect(json,'activationDate'),

@ -19,7 +19,7 @@ CURRENT_DIR = os.path.dirname(__file__)
setup(
name='georideapilib',
packages=['georideapilib', 'georideapilib.objects'], # this must be the same as the name above
version='0.9.5',
version='0.9.6',
description='Lib to control GeoRide tracker devices with theire rest api',
author='Matthieu DUVAL',
author_email='georideapilib@duval-dev.fr',

Loading…
Cancel
Save