Pathnames get all backward slashes replaced with forward ones (for windows compatibility)
This commit is contained in:
parent
ffe0102369
commit
f6149b6f9f
@ -29,6 +29,10 @@ def build_songmap(lilyfiles, lyric_folder='./lyrics'):
|
|||||||
|
|
||||||
title = find_title(scorefile)
|
title = find_title(scorefile)
|
||||||
|
|
||||||
|
# for windows systems
|
||||||
|
scorefile = scorefile.replace('\\', '/')
|
||||||
|
lyricfile = lyricfile.replace('\\', '/')
|
||||||
|
|
||||||
songmap.append({'scorefile': scorefile, 'lyricfile': lyricfile, 'title': title })
|
songmap.append({'scorefile': scorefile, 'lyricfile': lyricfile, 'title': title })
|
||||||
|
|
||||||
return songmap
|
return songmap
|
||||||
|
Loading…
Reference in New Issue
Block a user