Browse Source

Bugfix in leapi/query.py

Yann Weber 8 years ago
parent
commit
e5b9a4abd3
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      lodel/leapi/query.py

+ 1
- 1
lodel/leapi/query.py View File

@@ -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")

Loading…
Cancel
Save