@ -116,6 +116,8 @@ def main():
path
)
else:
datadirs.append(path)
except KeyError:
datadirs = [os.path.dirname(songbook_path)]
@ -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)
self.append(type, elem)