Browse Source

Small bugfix in plugins error message

Yann Weber 8 years ago
parent
commit
39a5ba77cc
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      lodel/plugin/plugins.py

+ 1
- 1
lodel/plugin/plugins.py View File

@@ -454,7 +454,7 @@ name differ from the one found in plugin's init file"
454 454
         if not(activable is True):
455 455
             msg = "Plugin %s is not activable : %s"
456 456
             msg %= (self.name, activable)
457
-            raise PluginError(activable)
457
+            raise PluginError(msg)
458 458
 
459 459
         #Circular dependencie detection
460 460
         if self.name in self._load_called:

Loading…
Cancel
Save