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: