diff --git a/assemble.py b/assemble.py index f149a4d..08deeb4 100644 --- a/assemble.py +++ b/assemble.py @@ -29,6 +29,10 @@ def build_songmap(lilyfiles, lyric_folder='./lyrics'): title = find_title(scorefile) + # for windows systems + scorefile = scorefile.replace('\\', '/') + lyricfile = lyricfile.replace('\\', '/') + songmap.append({'scorefile': scorefile, 'lyricfile': lyricfile, 'title': title }) return songmap