Browse Source

bugfix: use a list instead of an iterator

pull/228/head
Oliverpool 9 years ago
parent
commit
9a98f1d08d
  1. 5
      patacrep/content/tex.py

5
patacrep/content/tex.py

@ -43,9 +43,8 @@ def parse(keyword, argument, config):
argument = [argument] argument = [argument]
filelist = ContentList() filelist = ContentList()
basefolders = itertools.chain( basefolders = [path.fullpath for path in config['_songdir']] + list(
(path.fullpath for path in config['_songdir']), files.iter_datadirs(config['_datadir'], 'latex')
files.iter_datadirs(config['_datadir'], 'latex'),
) )
for filename in argument: for filename in argument:
checked_file = None checked_file = None

Loading…
Cancel
Save