Fixes #105
This commit is contained in:
parent
81cdb15353
commit
d4bc6ae7a1
|
@ -22,6 +22,7 @@ class InstanceManager(object):
|
|||
|
||||
def add(self, class_path):
|
||||
self.cache = None
|
||||
if class_path not in self.class_list:
|
||||
self.class_list.append(class_path)
|
||||
|
||||
def remove(self, class_path):
|
||||
|
|
|
@ -86,7 +86,7 @@ class PluginsList(AuthenticatedResource):
|
|||
if args['type']:
|
||||
return list(plugins.all(plugin_type=args['type']))
|
||||
|
||||
return plugins.all()
|
||||
return list(plugins.all())
|
||||
|
||||
|
||||
class Plugins(AuthenticatedResource):
|
||||
|
|
Loading…
Reference in New Issue