Browse Source

Correct bug: `cwd` did not work as expected

pull/176/head
Louis 9 years ago
parent
commit
d5e330ee18
  1. 2
      patacrep/content/cwd.py

2
patacrep/content/cwd.py

@ -24,7 +24,7 @@ def parse(keyword, config, argument, contentlist):
""" """
old_songdir = config['_songdir'] old_songdir = config['_songdir']
config['_songdir'] = ( config['_songdir'] = (
[DataSubpath("", argument)] + [DataSubpath(".", argument)] +
[path.clone().join(argument) for path in config['_songdir']] + [path.clone().join(argument) for path in config['_songdir']] +
config['_songdir'] config['_songdir']
) )

Loading…
Cancel
Save