From 5b1bf8c1c4edb1dea2dcbb76dfda3a881fbe7013 Mon Sep 17 00:00:00 2001 From: Matthieu DUVAL Date: Mon, 27 Feb 2023 19:31:03 +0100 Subject: [PATCH] Fixes mis configuraiton in tracker --- georideapilib/objects/GeoRideTracker.py | 7 ------- setup.py | 4 ++-- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/georideapilib/objects/GeoRideTracker.py b/georideapilib/objects/GeoRideTracker.py index c61de49..88d8fed 100644 --- a/georideapilib/objects/GeoRideTracker.py +++ b/georideapilib/objects/GeoRideTracker.py @@ -485,13 +485,6 @@ class GeoRideTracker(metaclass=JsonMgtMetaClass): # pylint: disable=R0904,R0902 @classmethod def from_json(cls, json): """return new object fromjson""" - - "version": 3, - "eCallCrashMode": "default", - "assistanceTheftActivated": True, - "model": "georide-3", - "businessModel": "leasing", - "hasTheftCaseOpened": False, return GeoRideTracker( json['trackerId'], # Mandatory diff --git a/setup.py b/setup.py index 3b3c30a..c85f5cc 100644 --- a/setup.py +++ b/setup.py @@ -19,13 +19,13 @@ 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.0', + version='0.9.1', description='Lib to control GeoRide tracker devices with theire rest api', author='Matthieu DUVAL', author_email='georideapilib@duval-dev.fr', # use the URL to the github repo url='https://github.com/hacf/georide-api', - download_url='https://codeload.github.com/hacf/georide-api/tar.gz/0.8.1', + download_url='https://codeload.github.com/hacf/georide-api/tar.gz/0.9.1', keywords=['rest', 'georide', 'api', 'grutier', 'GeoRide'], # arbitrary keywords classifiers=[], install_requires=["python-socketio[client]==4.6.1"],