Browse Source

remove unused variable

'directories' was previously used for the list of paths in \graphicspath which is now useless since copy all covers in ./covers
remotes/karagrat/master
Romain Goffe 12 years ago
parent
commit
e7a65f2894
  1. 1
      songbook.py

1
songbook.py

@ -33,7 +33,6 @@ def matchRegexp(reg, iterable):
return [ m.group(1) for m in (reg.match(l) for l in iterable) if m ]
def songslist(songs):
directories = set(["img/"] + map(lambda x: "songs/" + os.path.dirname(x), songs))
result = [ '\\input{{songs/{0}}}'.format(s.replace("\\","/").strip()) for s in songs ]
return '\n'.join(result)

Loading…
Cancel
Save