Reduce spam when no Spotify instance is running

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2019-09-11 19:52:10 +02:00
parent a2b90ee0b4
commit 3583001acf
Signed by: luzifer
GPG Key ID: DC2729FDD34BE99E

View File

@ -57,8 +57,11 @@ class Spotify(Block):
def main():
block = Spotify(ICON)
block.render()
try:
block = Spotify(ICON)
block.render()
except:
pass
if __name__ == '__main__':