From c263636b86d204c9500ed2fe58e4f9db74c28bee Mon Sep 17 00:00:00 2001 From: nilshah98 Date: Tue, 25 Jun 2019 12:55:20 +0530 Subject: Resolves #100 --- src/projManagement/Worker.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src/projManagement/Worker.py') diff --git a/src/projManagement/Worker.py b/src/projManagement/Worker.py index 99d30ccc..9b9f57e4 100644 --- a/src/projManagement/Worker.py +++ b/src/projManagement/Worker.py @@ -19,6 +19,7 @@ from PyQt4 import QtCore import subprocess from configuration.Appconfig import Appconfig + class WorkerThread(QtCore.QThread): """ Initialise a QThread with the passed arguments @@ -39,8 +40,6 @@ class WorkerThread(QtCore.QThread): QtCore.QThread.__init__(self) self.args = args - - def __del__(self): """ __del__ is a called whenever garbage collection is initialised @@ -54,7 +53,6 @@ class WorkerThread(QtCore.QThread): """ self.wait() - def run(self): """ run is the function that is called, when we start the thread as @@ -77,8 +75,8 @@ class WorkerThread(QtCore.QThread): track processes called @params - :command => (self.args) takes space separated string of comamnds to - be executed in different child processes + :command => (self.args) takes space separated string of\ + comamnds to be executed in different child processes (see subproces.Popen()) """ -- cgit