mirror of
https://git.ianrenton.com/ian/spothole.git
synced 2026-09-20 06:17:41 +00:00
Missed a couple of _stop_events
This commit is contained in:
@@ -35,7 +35,7 @@ class Toilets(LocalFileSIGRefDataProvider):
|
||||
|
||||
# Bail out if a stop has been requested, i.e. the program is shutting down - no need to parse the rest
|
||||
# of the data in this case
|
||||
if self._stop:
|
||||
if self._stop_event.is_set():
|
||||
break
|
||||
|
||||
return new_data
|
||||
|
||||
Reference in New Issue
Block a user