]> git.parisson.com Git - telemeta.git/commitdiff
bugfix
authorGuillaume Pellerin <yomguy@parisson.com>
Tue, 13 Jan 2015 00:13:52 +0000 (01:13 +0100)
committerGuillaume Pellerin <yomguy@parisson.com>
Tue, 13 Jan 2015 00:13:52 +0000 (01:13 +0100)
telemeta/views/playlist.py

index a178255235d5c96807ea47803b0cfc16ecda2319..17c86ad3b3202237ef3214a83ccb1eba87255738 100644 (file)
@@ -111,7 +111,7 @@ class PlaylistView(object):
                     elements.append(collection)
 
         if elements:
-            element = elements_base[0].to_dict_with_more()
+            element = elements[0].to_dict_with_more()
             tags = element.keys()
             for e in elements:
                 for key in e.keys():