mirror of
https://github.com/SickGear/SickGear.git
synced 2024-12-01 00:43:37 +00:00
Fix for BTN provider
This commit is contained in:
parent
826a9aab6a
commit
1d56ce7182
1 changed files with 1 additions and 1 deletions
|
@ -137,7 +137,7 @@ class BTNProvider(generic.TorrentProvider):
|
|||
try:
|
||||
parsedJSON = server.getTorrents(apikey, params, int(results_per_page), int(offset))
|
||||
|
||||
except jsonrpclib.ProtocolError, error:
|
||||
except jsonrpclib.jsonrpc.ProtocolError, error:
|
||||
logger.log(u"JSON-RPC protocol error while accessing " + self.name + ": " + ex(error), logger.ERROR)
|
||||
parsedJSON = {'api-error': ex(error)}
|
||||
return parsedJSON
|
||||
|
|
Loading…
Reference in a new issue