Skip to content

Commit

Permalink
Plugin support: bugfix
Browse files Browse the repository at this point in the history
git-svn-id: svn://cherokee-project.com/CTK/trunk@4226 5dc97367-97f1-0310-9951-d761b3857238
  • Loading branch information
alobbs committed Feb 10, 2010
1 parent e25c2b7 commit 5bd00fb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CTK/Plugin.py
Expand Up @@ -145,7 +145,9 @@ def instance_plugin (name, key):
# Load the Python module
module = load_module (name)
if not module:
return None
# Instance an empty plugin
plugin = Plugin(key)
return plugin

# Instance an object
class_name = 'Plugin_%s' %(name)
Expand Down

0 comments on commit 5bd00fb

Please sign in to comment.