Fix None unsted of null

This commit is contained in:
2023-03-24 23:12:41 +01:00
parent 61af626207
commit c1497f0b00
2 changed files with 2 additions and 2 deletions

View File

@@ -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'),

View File

@@ -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',