Add BTN api call parameter debug logging

This commit is contained in:
adam 2015-01-03 18:18:13 +08:00
parent 4930a69798
commit 3c295485ee
2 changed files with 3 additions and 1 deletions

View file

@ -16,6 +16,7 @@
* Fix normal tv show regex (port from midgetspy/sickbeard)
* Fix anime regex (port from lad1337/sickbeard)
* Add pull request checkout option to General Config/Advanced Settings
* Add BTN api call parameter debug logging
[develop changelog]
@ -65,7 +66,6 @@
* Fix normal tv show regex (port from midgetspy/sickbeard)
* Fix anime regex (port from lad1337/sickbeard)
### 0.4.0 (2014-12-04 10:50:00 UTC)
* Change footer stats to not add newlines when copy/pasting from them

View file

@ -136,6 +136,8 @@ class BTNProvider(generic.TorrentProvider):
server = jsonrpclib.Server(self.url)
parsedJSON = {}
logger.log(u'Searching with parameters: %s' % params, logger.DEBUG)
try:
parsedJSON = server.getTorrents(apikey, params, int(results_per_page), int(offset))