code cleanup and comments

UI: CSV mode
This commit is contained in:
Martin Zietz
2021-02-17 11:51:20 +01:00
parent f5dc7f097e
commit 056fd3efdd
2 changed files with 53 additions and 33 deletions
+1
View File
@@ -36,6 +36,7 @@ class ExecCSVThread(Thread):
self.parent.stop_button["state"] = "disabled"
self.parent.reinit_button["state"] = "normal"
# setup ability to interrupt thread (https://stackoverflow.com/questions/323972/is-there-any-way-to-kill-a-thread)
def stop(self): # stop thread execution, can be called from another thread to kill this one
self.__stop_event.set()