diff --git a/rwx/sw/freetube/authors.py b/rwx/sw/freetube/authors.py index 7f108e7..f577701 100644 --- a/rwx/sw/freetube/authors.py +++ b/rwx/sw/freetube/authors.py @@ -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(" ", " ")