File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 11#!/usr/bin/env python3
22
3- #Version:0.218.0 Added Api message if sending command fails
3+ #Version:0.218.1 Bug fix: No server crash more in case if API connect failed at server start
44# package imports
55import os
66import sys
Original file line number Diff line number Diff line change 22logger = logging .getLogger (__name__ )
33
44
5- version = '0.218.0 '
5+ version = '0.218.1 '
66
77# global ui messages
88cmdTransmissionFailed : bool = False
Original file line number Diff line number Diff line change @@ -351,10 +351,10 @@ def _setupApiConnection(self) -> None:
351351 break
352352 if mqttapi .client .connection_flag :
353353 mqttapi .client .publish (mqttapi .mqtt_mower_name + '/status' , 'boot' )
354- self .api_thread = threading .Thread (target = self ._runApi , name = 'api' )
355- self .api_cmd_thread = threading .Thread (target = self ._runApiCmd , name = 'api cmd' )
356- self .api_thread .daemon = True
357- self .api_cmd_thread .daemon = True
354+ self .api_thread = threading .Thread (target = self ._runApi , name = 'api' )
355+ self .api_cmd_thread = threading .Thread (target = self ._runApiCmd , name = 'api cmd' )
356+ self .api_thread .daemon = True
357+ self .api_cmd_thread .daemon = True
358358
359359 def _setupMessageServiceConnection (self ) -> None :
360360 if cfgdata .commcfg .message_service == 'Telegram' :
You can’t perform that action at this time.
0 commit comments