From 4bce833c1ebf2dccbefc0f3e28bbdebfa5501c1b Mon Sep 17 00:00:00 2001 From: AdeHub Date: Sat, 17 Aug 2019 11:48:50 +1200 Subject: [PATCH] pep --- headphones/librarysync.py | 1 - headphones/notifiers.py | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/headphones/librarysync.py b/headphones/librarysync.py index 50b7187b..dbf9fb4b 100644 --- a/headphones/librarysync.py +++ b/headphones/librarysync.py @@ -404,7 +404,6 @@ def libraryScan(dir=None, append=False, ArtistID=None, ArtistName=None, # [artist])) # ) - try: havetracks = ( len(myDB.select( diff --git a/headphones/notifiers.py b/headphones/notifiers.py index 656885ac..ac9c1bd6 100644 --- a/headphones/notifiers.py +++ b/headphones/notifiers.py @@ -1034,7 +1034,7 @@ class TELEGRAM(object): # MusicBrainz link if rgid: - message += '\n\n MusicBrainz' % rgid # Send image @@ -1053,7 +1053,6 @@ class TELEGRAM(object): except Exception, e: logger.info(u'Telegram notify failed: ' + str(e)) - # Error logging sent_successfuly = True if not response.status_code == 200: