diff --git a/ippigeon.py b/ippigeon.py index 4d87ce3..775a1ea 100644 --- a/ippigeon.py +++ b/ippigeon.py @@ -218,8 +218,9 @@ def mainloop(pool): tmplist = settings["badapps"] settings["badapps"] = list() for x in tmplist: - send_notification("Killing PID " + str(x)) - kill(x) + if x > 0: + send_notification("Killing PID " + str(x)) + kill(x) if settings["fwll"] == True: global history diff --git a/requirements.txt b/requirements.txt index 6461a9b..9cf85fa 100644 --- a/requirements.txt +++ b/requirements.txt @@ -7,4 +7,4 @@ pyyaml numpy bcrypt plyer -playsound \ No newline at end of file +playsound==1.2.2 \ No newline at end of file