mirror of
https://gitlab.com/parroquia-san-leandro/cancionero-web.git
synced 2024-12-22 08:43:33 +01:00
corregir error cuando falta autor o origen
This commit is contained in:
parent
1ccc7e16d4
commit
362dfd34e7
1 changed files with 2 additions and 2 deletions
|
@ -18,8 +18,8 @@ class Song:
|
|||
self.verses = []
|
||||
self.name = name.replace("\\\\", "-").replace("\\", "")
|
||||
self.number = number
|
||||
self.author = author.replace("\\", "")
|
||||
self.origin = origin.replace("\\", "")
|
||||
self.author = author.replace("\\", "") if author else author
|
||||
self.origin = origin.replace("\\", "") if origin else origin
|
||||
self.latex_file = latex_file
|
||||
self.audios = audios
|
||||
self.capo = capo
|
||||
|
|
Loading…
Reference in a new issue