From a1e77c40e8dc13012a52ad276414ebdc83fcb533 Mon Sep 17 00:00:00 2001 From: jesopo Date: Wed, 24 Oct 2018 13:54:22 +0100 Subject: [PATCH] Give `page` an initial value of None, in case the get_url call fails in modules/eval_python.py --- modules/eval_python.py | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/eval_python.py b/modules/eval_python.py index 90d7f620..e8a2fe7e 100644 --- a/modules/eval_python.py +++ b/modules/eval_python.py @@ -33,6 +33,7 @@ class Module(ModuleManager.BaseModule): _name = "Python" def _eval(self, lang, event): + page = None try: page = utils.http.get_url(EVAL_URL, post_data={