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]
filelist = ContentList()
basefolders = itertools.chain(
(path.fullpath for path in config['_songdir']),
files.iter_datadirs(config['_datadir'], 'latex'),
basefolders = [path.fullpath for path in config['_songdir']] + list(
files.iter_datadirs(config['_datadir'], 'latex')
)
for filename in argument:
checked_file = None

Loading…
Cancel
Save