Browse Source

Small bugfix in LeObject

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

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

@@ -175,7 +175,7 @@ class LeObject(object):
175 175
         try:
176 176
             return cls._fields[fieldname]
177 177
         except KeyError:
178
-            raise NameError("No field named '%s' in %s" % ( field_uid,
178
+            raise NameError("No field named '%s' in %s" % ( fieldname,
179 179
                                                             cls.__name__))
180 180
 
181 181
     ##@brief Read only access to all datas

Loading…
Cancel
Save