Fixing this so it pulls the named option

This commit is contained in:
Jeremy Heffner 2015-08-21 13:09:29 -07:00
parent 96c3ab7f9d
commit dbfd6b1e17
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ class IPlugin(local):
def get_option(self, name, options):
for o in options:
if o.get(name):
if o.get('name') == name:
return o['value']