mirror of
https://github.com/moparisthebest/SickRage
synced 2025-01-07 11:58:01 -05:00
Fix for BTN provider
This commit is contained in:
parent
826a9aab6a
commit
1d56ce7182
@ -137,7 +137,7 @@ class BTNProvider(generic.TorrentProvider):
|
|||||||
try:
|
try:
|
||||||
parsedJSON = server.getTorrents(apikey, params, int(results_per_page), int(offset))
|
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)
|
logger.log(u"JSON-RPC protocol error while accessing " + self.name + ": " + ex(error), logger.ERROR)
|
||||||
parsedJSON = {'api-error': ex(error)}
|
parsedJSON = {'api-error': ex(error)}
|
||||||
return parsedJSON
|
return parsedJSON
|
||||||
|
Loading…
Reference in New Issue
Block a user