Fixing an issue were metrics would not be sent

This commit is contained in:
kevgliss
2016-04-05 10:23:33 -07:00
parent 62d03b0d41
commit dbc4964e94
2 changed files with 3 additions and 2 deletions

View File

@ -112,7 +112,7 @@ class IPlugin(local):
def get_option(name, options):
for o in options:
if o.get('name') == name:
return o.get('value')
return o.get('value', o.get('default'))
class Plugin(IPlugin):