handle case when process is none in services
This commit is contained in:
parent
13e56c6d56
commit
8a29ab82b0
@ -97,6 +97,8 @@ def restart_services():
|
||||
processes = {}
|
||||
services = {}
|
||||
for proc in service_procs:
|
||||
if not proc:
|
||||
continue
|
||||
try:
|
||||
service_exe = proc.exe()
|
||||
proc_name = proc.name()
|
||||
|
Loading…
Reference in New Issue
Block a user