Skip to content

Commit

Permalink
Option was never set!
Browse files Browse the repository at this point in the history
  • Loading branch information
andresriancho committed Mar 27, 2019
1 parent b0aaf06 commit 06d67d5
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions w3af/plugins/grep/retirejs.py
Original file line number Diff line number Diff line change
Expand Up @@ -484,6 +484,16 @@ def get_options(self):

return ol

def set_options(self, options_list):
"""
This method sets all the options that are configured using the user
interface generated by the framework using the result of get_options().
:param options_list: A dictionary with the options for the plugin.
:return: No value is returned.
"""
self._retire_db_url = options_list['retire_db_url'].get_value()

def get_long_desc(self):
"""
:return: A DETAILED description of the plugin functions and features.
Expand Down

0 comments on commit 06d67d5

Please sign in to comment.