author list name was not handled correctly

This commit is contained in:
Faraphel 2022-01-13 14:14:13 +01:00
parent 61b54936b3
commit d4089e4120

View file

@ -122,7 +122,7 @@ class Track:
""" """
:return: the list of authors with ", " separating them :return: the list of authors with ", " separating them
""" """
return ", ".join(self.author) if type(self.author) == str else self.author return self.author if type(self.author) == str else ", ".join(self.author)
def get_ctfile(self, race=False, *args, **kwargs) -> str: def get_ctfile(self, race=False, *args, **kwargs) -> str:
""" """