when full energy update citizen info would stop working because trying to get timedelta from now - _last_full_energy_report
This commit is contained in:
parent
0dd1ae9ac5
commit
00b87dc832
@ -1257,6 +1257,7 @@ class TelegramBot:
|
|||||||
self._threads = []
|
self._threads = []
|
||||||
self.__queue = []
|
self.__queue = []
|
||||||
self.__thread_stopper = threading.Event() if stop_event is None else stop_event
|
self.__thread_stopper = threading.Event() if stop_event is None else stop_event
|
||||||
|
self._last_time = self._last_full_energy_report = utils.now().min
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def __dict__(self):
|
def __dict__(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user