summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Sivak <msivak@redhat.com>2007-11-12 12:50:13 +0100
committerMartin Sivak <msivak@redhat.com>2007-11-12 12:50:13 +0100
commit2b3ed0d87f427dc4eb824830ce06f9ae5c51183f (patch)
tree1973f066ac6719d2087e1985ea56587e00a856ac
parent920d719a364e18aa4df80762501e779adc21fc11 (diff)
downloadfirstaidkit-2b3ed0d87f427dc4eb824830ce06f9ae5c51183f.tar.gz
firstaidkit-2b3ed0d87f427dc4eb824830ce06f9ae5c51183f.tar.xz
firstaidkit-2b3ed0d87f427dc4eb824830ce06f9ae5c51183f.zip
Correct one stupid typo in extension processing
-rw-r--r--tasker/plugins.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tasker/plugins.py b/tasker/plugins.py
index 2a8c204..3a470a5 100644
--- a/tasker/plugins.py
+++ b/tasker/plugins.py
@@ -139,7 +139,7 @@ class PluginSystem(object):
importlist.add(f[:-4])
print "Adding python module (compiled): ", f
elif os.path.isfile(fullpath) and f[-7:]==".plugin":
- self._plugins[f[:-4]] = BinPlugin(fullpath)
+ self._plugins[f[:-7]] = BinPlugin(fullpath)
print "Importing special module: ", f
#try to import the modules as FirstAidKit.plugins.modulename