From 2b3ed0d87f427dc4eb824830ce06f9ae5c51183f Mon Sep 17 00:00:00 2001 From: Martin Sivak Date: Mon, 12 Nov 2007 12:50:13 +0100 Subject: Correct one stupid typo in extension processing --- tasker/plugins.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tasker/plugins.py') 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 -- cgit