浏览代码

Small bugfix in plugins error message

Yann Weber 8 年前
父节点
当前提交
39a5ba77cc
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      lodel/plugin/plugins.py

+ 1
- 1
lodel/plugin/plugins.py 查看文件

@@ -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:

正在加载...
取消
保存