|
@ -78,8 +78,8 @@ class Chordpro2HtmlSong(ChordproSong): |
|
|
|
|
|
|
|
|
def search_file(self, filename, extensions=None, *, datadirs=None): |
|
|
def search_file(self, filename, extensions=None, *, datadirs=None): |
|
|
try: |
|
|
try: |
|
|
datadir, filename, extensions = self.search_datadir_file(filename, extensions, datadirs) |
|
|
datadir, filename, extension = self.search_datadir_file(filename, extensions, datadirs) |
|
|
return os.path.join(datadir, filename + extensions) |
|
|
return os.path.join(datadir, filename + extension) |
|
|
except FileNotFoundError: |
|
|
except FileNotFoundError: |
|
|
LOGGER.warning( |
|
|
LOGGER.warning( |
|
|
"Song '%s' (datadir '%s'): File '%s' not found.", |
|
|
"Song '%s' (datadir '%s'): File '%s' not found.", |
|
|