Give page
an initial value of None, in case the get_url call fails in
modules/eval_python.py
This commit is contained in:
parent
f89b96f373
commit
a1e77c40e8
1 changed files with 1 additions and 0 deletions
|
@ -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={
|
||||
|
|
Loading…
Reference in a new issue