Skip to content

Commit 805c180

Browse files
committed
fixed checkstyle
1 parent a4b377d commit 805c180

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

spotifycli/spotifycli.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,10 @@
1010
from subprocess import Popen, PIPE
1111
import logging
1212
import lyriq
13-
14-
logging.getLogger("lyriq.lyriq").setLevel(logging.CRITICAL)
15-
1613
from jeepney import DBusAddress, new_method_call
1714
from jeepney.io.blocking import open_dbus_connection
1815

16+
logging.getLogger("lyriq.lyriq").setLevel(logging.CRITICAL)
1917

2018
class SpotifyCLIException(Exception):
2119
"""An exception wrapper purely to handle known exceptions nicely"""
@@ -232,10 +230,9 @@ def show_song_short():
232230
def show_lyrics():
233231
artist, title = get_song()
234232
lyrics = lyriq.get_lyrics(title, artist)
235-
233+
236234
if lyrics is None:
237235
print(f"Lyrics for '{title}' by {artist} were not found.")
238-
print("This could happen if the track is missing from the lyrics database or is unsupported.")
239236
return
240237

241238
print(lyrics.plain_lyrics)

0 commit comments

Comments
 (0)