pygui consolidated menubar and menuaction code into one file, small updates to observer widgets to avoid using ifconfig
This commit is contained in:
parent
c43afa4b40
commit
7da7ea5d62
6 changed files with 231 additions and 294 deletions
|
@ -21,7 +21,8 @@ class BackgroundTask:
|
|||
def run(self):
|
||||
result = self.task(*self.args)
|
||||
logging.info("task completed")
|
||||
# if start session fails, a response with Result: False and a list of exceptions is returned
|
||||
# if start session fails, a response with Result: False and a list of
|
||||
# exceptions is returned
|
||||
if not getattr(result, "result", True):
|
||||
if len(getattr(result, "exceptions", [])) > 0:
|
||||
self.master.after(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue