Commit fd070ae1 authored by Deathcrow's avatar Deathcrow

catch rare exception

parent 531c9167
......@@ -151,8 +151,11 @@ def clean_up():
if args.cpunetlog != "":
cpunetlog.terminate()
for i in sender:
if i['utility'].returncode == None:
i['utility'].kill()
# if i['utility'].returncode == None:
try:
i['utility'].kill()
except ProcessLookupError:
pass
# i['utility_file'].close()
time.sleep(1)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment