Browse Source

Nettoyage

pull/42/head
Luthaf 11 years ago
parent
commit
797f4cafe1
  1. 1
      songbook_core/build.py
  2. 2
      songbook_core/songs.py

1
songbook_core/build.py

@ -154,7 +154,6 @@ class Songbook(object):
context['filename'] = output.name[:-4] context['filename'] = output.name[:-4]
self._set_songs_default(context) self._set_songs_default(context)
print(self.contentlist.content)
renderer.render_tex(output, context) renderer.render_tex(output, context)

2
songbook_core/songs.py

@ -108,7 +108,7 @@ class SongbookContent(object):
data = parsetex(filename) data = parsetex(filename)
song = Song(filename, data['languages'], data['titles'], data['args']) song = Song(filename, data['languages'], data['titles'], data['args'])
self.content.append(("song", song)) self.content.append(("song", song))
def append(self, type, value): def append(self, type, value):
""" Append a generic element to the content list""" """ Append a generic element to the content list"""
self.content.append((type, value)) self.content.append((type, value))

Loading…
Cancel
Save