Browse Source

Use generator instead of list

pull/175/head
Louis 9 years ago
parent
commit
205c6c3c65
  1. 2
      patacrep/content/tex.py

2
patacrep/content/tex.py

@ -37,7 +37,7 @@ def parse(keyword, argument, contentlist, config):
)
filelist = []
basefolders = itertools.chain(
[path.fullpath for path in config['_songdir']],
(path.fullpath for path in config['_songdir']),
files.iter_datadirs(config['datadir']),
files.iter_datadirs(config['datadir'], 'latex'),
)

Loading…
Cancel
Save