Browse Source

typo

pull/122/head
Louis 9 years ago
parent
commit
15bcda8901
  1. 4
      patacrep/songs/chordpro/__init__.py
  2. 2
      patacrep/songs/chordpro/data/html/content_metadata_cover

4
patacrep/songs/chordpro/__init__.py

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

2
patacrep/songs/chordpro/data/html/content_metadata_cover

@ -1,6 +1,6 @@
(* block cov *)
(* if 'cov' in metadata -*)
(* set cov = metadatad['cov'].argument|search_image *)
(* set cov = metadata['cov'].argument|search_image *)
(* if cov *)
<img src="(( cov ))"><br>
(* endif *)

Loading…
Cancel
Save