mirror of
https://gitlab.com/parroquia-san-leandro/cancionero-web.git
synced 2024-12-22 00:33:33 +01:00
fix: canciones con el mismo nombre tenian la misma URL y se sobreescribian
This commit is contained in:
parent
30dc36d262
commit
9f4e8b89fc
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ class Song:
|
|||
self.verses.append(verse)
|
||||
|
||||
def get_url(self):
|
||||
return self.name.replace("¿", "").replace("?", "")
|
||||
return "%03d %s" % (self.number, self.name.replace("¿", "").replace("?", ""))
|
||||
|
||||
def chorded(self):
|
||||
for v in self.verses:
|
||||
|
|
Loading…
Reference in a new issue