Fix PID 0 issue

This commit is contained in:
Cole Deck 2022-11-29 19:34:56 -06:00
parent d5f85fb62a
commit a5cb840a61
2 changed files with 4 additions and 3 deletions

View File

@ -218,8 +218,9 @@ def mainloop(pool):
tmplist = settings["badapps"] tmplist = settings["badapps"]
settings["badapps"] = list() settings["badapps"] = list()
for x in tmplist: for x in tmplist:
send_notification("Killing PID " + str(x)) if x > 0:
kill(x) send_notification("Killing PID " + str(x))
kill(x)
if settings["fwll"] == True: if settings["fwll"] == True:
global history global history

View File

@ -7,4 +7,4 @@ pyyaml
numpy numpy
bcrypt bcrypt
plyer plyer
playsound playsound==1.2.2