Formatting

This commit is contained in:
nathom 2021-04-26 16:37:42 -07:00
parent 48fb99494b
commit 9f87084276
3 changed files with 4 additions and 4 deletions

View file

@ -990,7 +990,7 @@ class YoutubeVideo:
) )
if download_youtube_videos: if download_youtube_videos:
click.secho("Downloading video stream", fg='blue') click.secho("Downloading video stream", fg="blue")
pv = subprocess.Popen( pv = subprocess.Popen(
[ [
"youtube-dl", "youtube-dl",

View file

@ -175,7 +175,7 @@ class MusicDL(list):
) )
click.secho("rip config --reset ", fg="yellow", nl=False) 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("to reset it. You will need to log in again.", fg="red")
click.secho(err, fg='red') click.secho(err, fg="red")
exit() exit()
logger.debug("Arguments from config: %s", arguments) logger.debug("Arguments from config: %s", arguments)

View file

@ -333,8 +333,8 @@ class TrackMetadata:
if self.__source == "qobuz": if self.__source == "qobuz":
genres = re.findall(r"([^\u2192\/]+)", "/".join(self._genres)) genres = re.findall(r"([^\u2192\/]+)", "/".join(self._genres))
genres = set(genres) genres = set(genres)
elif self.__source == 'deezer': elif self.__source == "deezer":
genres = ', '.join(g['name'] for g in self._genres) genres = ", ".join(g["name"] for g in self._genres)
return ", ".join(genres) return ", ".join(genres)