This commit is contained in:
parent
27329865ee
commit
125e2ac9ca
1 changed files with 8 additions and 1 deletions
|
@ -20,5 +20,12 @@ class Author(Object):
|
|||
:type name: str
|
||||
"""
|
||||
self.uid = uid
|
||||
self.name = name.replace(" ", " ")
|
||||
self.name = name
|
||||
self.playlist: Playlist
|
||||
|
||||
def to_db(self) -> str:
|
||||
"""Return non-breakable name.
|
||||
|
||||
:rtype: str
|
||||
"""
|
||||
return self.name.replace(" ", " ")
|
||||
|
|
Loading…
Reference in a new issue