From c1497f0b0003d2382f15e6fbbee7d18bbd2e8ede Mon Sep 17 00:00:00 2001 From: Matthieu Date: Fri, 24 Mar 2023 23:12:41 +0100 Subject: [PATCH] Fix None unsted of null --- georideapilib/objects/GeoRideTracker.py | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/georideapilib/objects/GeoRideTracker.py b/georideapilib/objects/GeoRideTracker.py index 14ec199..43bdf33 100644 --- a/georideapilib/objects/GeoRideTracker.py +++ b/georideapilib/objects/GeoRideTracker.py @@ -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'), diff --git a/setup.py b/setup.py index e0c933d..831a2c5 100644 --- a/setup.py +++ b/setup.py @@ -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',