diff --git a/modules/eval_python.py b/modules/eval_python.py index 5650f28c..b4c45e32 100644 --- a/modules/eval_python.py +++ b/modules/eval_python.py @@ -47,7 +47,7 @@ class Module(ModuleManager.BaseModule): except: pass - if page.data: + if page and page.data: out = page.data.split("
", 1)[1] out = html.unescape(out) out = json.loads(out)