Private GIT

Skip to content
Snippets Groups Projects
Commit c7dc4c96 authored by Fernando's avatar Fernando
Browse files

Fix BTN

parent 5566d7a2
No related branches found
No related tags found
No related merge requests found
......@@ -146,7 +146,7 @@ class BTNProvider(generic.TorrentProvider):
parsedJSON = server.getTorrents(apikey, params, int(results_per_page), int(offset))
except jsonrpclib.jsonrpc.ProtocolError, error:
if error.message = 'Call Limit Exceeded':
if error.message == 'Call Limit Exceeded':
logger.log(u"You have exceeded the limit of 150 calls per hour, per API key which is unique to your user account.", logger.WARNING)
else:
logger.log(u"JSON-RPC protocol error while accessing " + self.name + ": " + ex(error), logger.ERROR)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment