python/trisurf/trisurf.py | ●●●●● patch | view | raw | blame | history |
python/trisurf/trisurf.py
@@ -324,8 +324,8 @@ return TS_NOLOCK if(psutil.pid_exists(int(pid))): proc= psutil.Process(int(pid)) if proc.name=="trisurf": if proc.status=="stopped": if proc.name()=="trisurf": if proc.status()=="stopped": return TS_STOPPED else: return TS_RUNNING