Don't add an <akap> in a vocab entry
authorMarcin Koziej <marcin.koziej@nowoczesnapolska.org.pl>
Wed, 5 Dec 2012 11:06:28 +0000 (12:06 +0100)
committerMarcin Koziej <marcin.koziej@nowoczesnapolska.org.pl>
Wed, 5 Dec 2012 11:06:28 +0000 (12:06 +0100)
apps/catalogue/management/edumed.py

index 56088fe..8a8f46d 100644 (file)
@@ -389,7 +389,7 @@ def mark_dictionary(content):
                                        Container('definiens', m.groups()[1])])
 
                 else:
-                    slowniczek.append(e)
+                    slowniczek.append(e.line)
         i += 1
 
     return content