From 3d5d56c5f75293afb82561fe562bbd7de2fcd84d Mon Sep 17 00:00:00 2001 From: Natalia Portillo Date: Sat, 21 Jan 2017 16:44:21 +0000 Subject: [PATCH] Exit as soon as requested (not working). --- wrp.py | 1 + 1 file changed, 1 insertion(+) diff --git a/wrp.py b/wrp.py index e57cb84..11df57b 100755 --- a/wrp.py +++ b/wrp.py @@ -357,6 +357,7 @@ if sys.platform == "linux" or sys.platform == "linux2": WebkitRenderer.req_map = req[3] if rurl == "http://wrp.stop/": print ">>> Terminate Request Received" + sys.exit(0) break # Initialize WebkitRenderer object