Fix PID 0 issue

testing
Cole Deck 2 years ago
parent d5f85fb62a
commit a5cb840a61

@ -218,6 +218,7 @@ def mainloop(pool):
tmplist = settings["badapps"] tmplist = settings["badapps"]
settings["badapps"] = list() settings["badapps"] = list()
for x in tmplist: for x in tmplist:
if x > 0:
send_notification("Killing PID " + str(x)) send_notification("Killing PID " + str(x))
kill(x) kill(x)

@ -7,4 +7,4 @@ pyyaml
numpy numpy
bcrypt bcrypt
plyer plyer
playsound playsound==1.2.2
Loading…
Cancel
Save