Add missing .data on a utils.http.request Response object (define.py)

This commit is contained in:
jesopo 2018-12-15 22:56:04 +00:00
parent 9658d0285e
commit 179cb40163

View file

@ -61,7 +61,7 @@ class Module(ModuleManager.BaseModule):
raise utils.EventError("Try again in a couple of seconds")
event["stdout"].write("Random Word: %s - Definition: %s" % (
page["word"], definition["text"]))
page.data["word"], definition["text"]))
else:
raise utils.EventsResultsError()
else: