Fixed unreachable links by removing forbidden chars

This commit is contained in:
Carlos Galindo 2020-10-14 01:26:45 +02:00
parent c8c7eae33c
commit b0693c284a

View file

@ -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: