Skip to content

Commit

Permalink
copyright fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Georg Perhofer committed Dec 12, 2022
1 parent 4e746ff commit d47d394
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions qobuz_dl/metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,9 @@ def _get_title(track_dict):


def _format_copyright(s: str) -> str:
s = s.replace("(P)", PHON_COPYRIGHT)
s = s.replace("(C)", COPYRIGHT)
if s:
s = s.replace("(P)", PHON_COPYRIGHT)
s = s.replace("(C)", COPYRIGHT)
return s


Expand Down

0 comments on commit d47d394

Please sign in to comment.