mirror of
https://github.com/beetbox/beets.git
synced 2025-12-06 16:42:42 +01:00
parent
cc01d87209
commit
0247785440
1 changed files with 2 additions and 1 deletions
|
|
@ -41,7 +41,8 @@ urllib3_logger.setLevel(logging.CRITICAL)
|
||||||
USER_AGENT = u'beets/{0} +http://beets.radbox.org/'.format(beets.__version__)
|
USER_AGENT = u'beets/{0} +http://beets.radbox.org/'.format(beets.__version__)
|
||||||
|
|
||||||
# Exceptions that discogs_client should really handle but does not.
|
# Exceptions that discogs_client should really handle but does not.
|
||||||
CONNECTION_ERRORS = ConnectionError, socket.error, httplib.HTTPException
|
CONNECTION_ERRORS = (ConnectionError, socket.error, httplib.HTTPException,
|
||||||
|
ValueError) # JSON decoding raises a ValueError.
|
||||||
|
|
||||||
|
|
||||||
class DiscogsPlugin(BeetsPlugin):
|
class DiscogsPlugin(BeetsPlugin):
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue