From 5e3ca2ad3a0632ac975e0fa901598e88054413b9 Mon Sep 17 00:00:00 2001 From: Carlos Galindo Date: Wed, 14 Oct 2020 14:30:00 +0200 Subject: [PATCH] Fixed latex file path generation --- src/latex_scanner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/latex_scanner.py b/src/latex_scanner.py index 4460783..407e3e8 100644 --- a/src/latex_scanner.py +++ b/src/latex_scanner.py @@ -113,7 +113,7 @@ class SongLoader: author=read_property(re_song_begin_match.group(2), "by"), origin=read_property(re_song_begin_match.group(2), "m"), category=self.category, - latex_file=song_file) + latex_file=song_file[song_file.index('/')+1:]) transpose = 0 memory = None memorizing = False