mirror of
https://github.com/rembo10/headphones.git
synced 2026-03-18 10:49:26 +00:00
pep
This commit is contained in:
@@ -404,7 +404,6 @@ def libraryScan(dir=None, append=False, ArtistID=None, ArtistName=None,
|
||||
# [artist]))
|
||||
# )
|
||||
|
||||
|
||||
try:
|
||||
havetracks = (
|
||||
len(myDB.select(
|
||||
|
||||
@@ -1034,7 +1034,7 @@ class TELEGRAM(object):
|
||||
|
||||
# MusicBrainz link
|
||||
if rgid:
|
||||
message += '\n\n <a href="http://musicbrainz.org/' \
|
||||
message += '\n\n <a href="http://musicbrainz.org/' \
|
||||
'release-group/%s">MusicBrainz</a>' % 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:
|
||||
|
||||
Reference in New Issue
Block a user