Browse Source

Corrections

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

2
songbook

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

2
songbook_core/songs.py

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

Loading…
Cancel
Save