Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
nathom committed Apr 26, 2021
1 parent 48fb994 commit 9f87084
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion streamrip/bases.py
Original file line number Diff line number Diff line change
Expand Up @@ -990,7 +990,7 @@ def download(
)

if download_youtube_videos:
click.secho("Downloading video stream", fg='blue')
click.secho("Downloading video stream", fg="blue")
pv = subprocess.Popen(
[
"youtube-dl",
Expand Down
2 changes: 1 addition & 1 deletion streamrip/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ def download(self):
)
click.secho("rip config --reset ", fg="yellow", nl=False)
click.secho("to reset it. You will need to log in again.", fg="red")
click.secho(err, fg='red')
click.secho(err, fg="red")
exit()

logger.debug("Arguments from config: %s", arguments)
Expand Down
4 changes: 2 additions & 2 deletions streamrip/metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -333,8 +333,8 @@ def genre(self) -> Optional[str]:
if self.__source == "qobuz":
genres = re.findall(r"([^\u2192\/]+)", "/".join(self._genres))
genres = set(genres)
elif self.__source == 'deezer':
genres = ', '.join(g['name'] for g in self._genres)
elif self.__source == "deezer":
genres = ", ".join(g["name"] for g in self._genres)

return ", ".join(genres)

Expand Down

0 comments on commit 9f87084

Please sign in to comment.