瀏覽代碼

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
         if not(activable is True):
454
         if not(activable is True):
455
             msg = "Plugin %s is not activable : %s"
455
             msg = "Plugin %s is not activable : %s"
456
             msg %= (self.name, activable)
456
             msg %= (self.name, activable)
457
-            raise PluginError(activable)
457
+            raise PluginError(msg)
458
 
458
 
459
         #Circular dependencie detection
459
         #Circular dependencie detection
460
         if self.name in self._load_called:
460
         if self.name in self._load_called:

Loading…
取消
儲存