Bug fixes.

This commit is contained in:
Johannes Findeisen 2022-10-02 22:53:30 +02:00
commit 9a631e237a
2 changed files with 3 additions and 3 deletions

View file

@ -34,7 +34,7 @@ from linspector.core.monitors import Monitors
# i currently only increase the 3rd number because the goal is that 0.19 will become the first # i currently only increase the 3rd number because the goal is that 0.19 will become the first
# stable version. # stable version.
__version__ = '0.19.20.dev1' __version__ = '0.19.21.dev1'
__author__ = 'Johannes Findeisen <you@hanez.org>' __author__ = 'Johannes Findeisen <you@hanez.org>'
logger = logging.getLogger('linspector') logger = logging.getLogger('linspector')

View file

@ -81,12 +81,12 @@ class TaskExecutor:
try: try:
msg, task = self.queue.get() msg, task = self.queue.get()
if task: if task:
log('debug', __name__, "starting task execution...") log('debug', "starting task execution...")
#task.execute(msg) #task.execute(msg)
self.queue.task_done() self.queue.task_done()
except Exception as err: except Exception as err:
log('error', __name__, "error " + str(err)) log('error', "error " + str(err))
def is_instant_end(self): def is_instant_end(self):
return self._instantEnd return self._instantEnd