Browse Source

Corrections

pull/45/head
Luthaf 10 years ago
parent
commit
3ced437ee3
  1. 2
      songbook
  2. 2
      songbook_core/songs.py

2
songbook

@ -116,6 +116,8 @@ def main():
path
)
)
else:
datadirs.append(path)
except KeyError:
datadirs = [os.path.dirname(songbook_path)]

2
songbook_core/songs.py

@ -131,7 +131,7 @@ class SongbookContent(object):
if len(self.content) == before:
# No songs were added
LOGGER.warning(
"Expression '{}' did not match any file".format(regexp)
"Expression '{}' did not match any file".format(elem)
)
else:
self.append(type, elem)

Loading…
Cancel
Save