mirror of
https://gitlab.com/parroquia-san-leandro/cancionero-web.git
synced 2024-12-22 00:33:33 +01:00
Fixed unreachable links by removing forbidden chars
This commit is contained in:
parent
c8c7eae33c
commit
b0693c284a
1 changed files with 2 additions and 2 deletions
|
@ -22,7 +22,7 @@ class Song:
|
|||
if audios is None:
|
||||
audios = []
|
||||
self.verses = []
|
||||
self.name = name
|
||||
self.name = name.replace("\\\\", "-").replace("\\", "")
|
||||
self.number = number
|
||||
self.author = author
|
||||
self.origin = origin
|
||||
|
@ -56,7 +56,7 @@ class Song:
|
|||
self.verses.append(verse)
|
||||
|
||||
def get_url(self):
|
||||
return self.name
|
||||
return self.name.replace("¿", "").replace("?", "")
|
||||
|
||||
def chorded(self):
|
||||
for v in self.verses:
|
||||
|
|
Loading…
Reference in a new issue