]> git.parisson.com Git - telemeta.git/commitdiff
import: fix collection title
authorGuillaume Pellerin <yomguy@parisson.com>
Tue, 28 May 2013 18:16:00 +0000 (20:16 +0200)
committerGuillaume Pellerin <yomguy@parisson.com>
Tue, 28 May 2013 18:16:00 +0000 (20:16 +0200)
tools/scripts/telemeta-crem-import.py

index 49cb1a7e39d6d9a9054993a58e28feb1fbe6588e..3017708ecb3e3e873734f39e63380de57ad46b35 100755 (executable)
@@ -86,7 +86,7 @@ class TelemetaWavImport:
                 elif not c:
                     msg = 'collection NON prĂ©sente dans la base de donnĂ©es, CREATION '
                     self.logger.info(collection, msg)
-                    c = MediaCollection(code=collection_name)
+                    c = MediaCollection(code=collection_name, title=collection_name)
                     c.save()
                     c.set_revision(self.user)
                 else: