diff --git a/res/repeat-sign.svg b/res/repeat-sign.svg new file mode 100644 index 0000000..1d0740b --- /dev/null +++ b/res/repeat-sign.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/res/song.css b/res/song.css index 80a15a7..e63f9e1 100644 --- a/res/song.css +++ b/res/song.css @@ -39,14 +39,14 @@ table.chordedline { transform: scaleX(-1); filter: FlipV; -ms-filter: "FlipV"; - background-image: url(img/repeat-sign.svg); + background-image: url(repeat-sign.svg); display: inline-block; width: 1em; height: 2em; } .rrep { - background-image: url(img/repeat-sign.svg); + background-image: url(repeat-sign.svg); display: inline-block; width: 1em; height: 2em; diff --git a/src/latex_scanner.py b/src/latex_scanner.py index b08668d..4460783 100644 --- a/src/latex_scanner.py +++ b/src/latex_scanner.py @@ -255,7 +255,7 @@ class SongLoader: def copy_static(source_dir, target_dir): for f in os.listdir(source_dir): - if re.search(r"\.(css|js)$", f): + if re.search(r"\.(css|js|svg)$", f): shutil.copy2(join(source_dir, f), target_dir)