Browse Source

self.__namein delete

prieto 8 years ago
parent
commit
7c5ebc3035
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      lodel/leapi/leobject.py

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

@@ -512,7 +512,7 @@ raised when trying to import Datasource"
512 512
         for uid in uids:
513 513
             query_filter.append((uid, '=', self.data(uid)))
514 514
 
515
-        query = LeDeleteQuery(self.name2class(self.__class__.__name__), query_filter)
515
+        query = LeDeleteQuery(self.__class__, query_filter)
516 516
 
517 517
         result = query.execute()
518 518
 

Loading…
Cancel
Save