summaryrefslogtreecommitdiff
path: root/src/projManagement/Worker.py
diff options
context:
space:
mode:
authornilshah982019-06-07 18:54:35 +0530
committernilshah982019-06-13 12:15:50 +0530
commita0f738ba15264b69d9d51755569408bdd8e383b5 (patch)
tree3d472af32b57508a16dd7f81e5c54f8ccda1bf47 /src/projManagement/Worker.py
parentcc9bb8d5d56e64b6e6b6ff2db988ff200b9f720d (diff)
downloadeSim-a0f738ba15264b69d9d51755569408bdd8e383b5.tar.gz
eSim-a0f738ba15264b69d9d51755569408bdd8e383b5.tar.bz2
eSim-a0f738ba15264b69d9d51755569408bdd8e383b5.zip
pep8 fixes and list models bug fixed
Diffstat (limited to 'src/projManagement/Worker.py')
-rw-r--r--src/projManagement/Worker.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/projManagement/Worker.py b/src/projManagement/Worker.py
index 4cfeefe9..f40fd724 100644
--- a/src/projManagement/Worker.py
+++ b/src/projManagement/Worker.py
@@ -52,6 +52,7 @@ class WorkerThread(QtCore.QThread):
@return
None
"""
+
def __del__(self):
self.wait()
@@ -65,6 +66,7 @@ class WorkerThread(QtCore.QThread):
@return
None
"""
+
def run(self):
print("Worker Thread Calling Command :", self.args)
self.call_system(self.args)
@@ -80,6 +82,7 @@ class WorkerThread(QtCore.QThread):
be executed in different child processes
(see subproces.Popen())
"""
+
def call_system(self, command):
procThread = Appconfig()
proc = subprocess.Popen(command.split())