Browse Source

Merge branch 'master' of git.labocleo.org:lodel2

Conflicts:
	EditorialModel/classes.py
Yann Weber 9 years ago
parent
commit
c94719ed75
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      EditorialModel/classes.py

+ 1
- 1
EditorialModel/classes.py View File

@@ -57,7 +57,7 @@ class EmClass(EmComponent):
57 57
 
58 58
         conn.close()
59 59
 
60
-        return EmClass(res.inserted_primary_key[0])
60
+        return EmClass(name)
61 61
 
62 62
 
63 63
     def populate(self):

Loading…
Cancel
Save