Commit 8b496888 authored by Giorgos Korfiatis's avatar Giorgos Korfiatis
Browse files

Catch all psutil errors

parent 37c88017
......@@ -62,7 +62,7 @@ def file_is_open(path):
for nt in flist:
if nt.path == path:
return True
except psutil.NoSuchProcess:
except psutil.Error:
pass
return False
......
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