浏览代码

Bugfix in leapi/query.py

Yann Weber 9 年前
父节点
当前提交
e5b9a4abd3
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      lodel/leapi/query.py

+ 1
- 1
lodel/leapi/query.py 查看文件

@@ -41,7 +41,7 @@ class LeQuery(object):
41 41
     ##@brief Abstract constructor
42 42
     # @param target_class LeObject : class of object the query is about
43 43
     def __init__(self, target_class):
44
-        if hook_prefix is None:
44
+        if self._hook_prefix is None:
45 45
             raise NotImplementedError("Abstract class")
46 46
         if not issubclass(target_class, LeObject):
47 47
             raise TypeError("target class has to be a child class of LeObject")

正在加载...
取消
保存