Commit af099737 authored by Lance Stout's avatar Lance Stout

Ensure that accessing self.api.settings works for plugins.

parent 9ffde5ab
......@@ -6,6 +6,8 @@ class APIWrapper(object):
def __init__(self, api, name):
self.api = api = name
if name not in self.api.settings:
self.api.settings[name] = {}
def __getattr__(self, attr):
"""Curry API management commands with the API name."""
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment