diff --git a/donkeycar/parts/web_controller/web.py b/donkeycar/parts/web_controller/web.py index 2de508f25..30cff6fcc 100644 --- a/donkeycar/parts/web_controller/web.py +++ b/donkeycar/parts/web_controller/web.py @@ -249,13 +249,14 @@ def open(self): def on_message(self, message): data = json.loads(message) - self.application.angle = data.get('angle', self.application.angle) self.application.throttle = data.get('throttle', self.application.throttle) if data.get('drive_mode') is not None: self.application.mode = data['drive_mode'] self.application.mode_latch = self.application.mode - self.application.recording = data.get('recording', self.application.recording) + if data.get('recording') is not None: + self.application.recording = data['recording'] + self.application.recording_latch = self.application.recording def on_close(self): # print("Client disconnected") diff --git a/setup.py b/setup.py index 43cbfaddb..4e7005653 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def package_files(directory, strip_leading): long_description = fh.read() setup(name='donkeycar', - version="4.3.6.2", + version="4.3.6.3", long_description=long_description, description='Self driving library for python.', url='https://github.com/autorope/donkeycar',