mirror of
https://gitlab.com/parroquia-san-leandro/cancionero-web.git
synced 2024-12-22 16:53:34 +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:
|
if audios is None:
|
||||||
audios = []
|
audios = []
|
||||||
self.verses = []
|
self.verses = []
|
||||||
self.name = name
|
self.name = name.replace("\\\\", "-").replace("\\", "")
|
||||||
self.number = number
|
self.number = number
|
||||||
self.author = author
|
self.author = author
|
||||||
self.origin = origin
|
self.origin = origin
|
||||||
|
@ -56,7 +56,7 @@ class Song:
|
||||||
self.verses.append(verse)
|
self.verses.append(verse)
|
||||||
|
|
||||||
def get_url(self):
|
def get_url(self):
|
||||||
return self.name
|
return self.name.replace("¿", "").replace("?", "")
|
||||||
|
|
||||||
def chorded(self):
|
def chorded(self):
|
||||||
for v in self.verses:
|
for v in self.verses:
|
||||||
|
|
Loading…
Reference in a new issue