mirror of
https://github.com/beetbox/beets.git
synced 2025-12-06 08:39:17 +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__)
|
||||
|
||||
# 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):
|
||||
|
|
|
|||
Loading…
Reference in a new issue