瀏覽代碼

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:

Loading…
取消
儲存