get_limit() takes no arguments (1 given)
Posted: February 20th, 2009, 8:38 am
With the last SVN at the moment (rev. 2217), when getting this:
I have this error:
Removing the parameter "value" fixed the problem for me.
Code: Select all
http://localhost:8080/sabnzbd/api?mode=config&name=get_speedlimit
Code: Select all
Traceback (most recent call last):
File "...\SABnzbd\main\cherrypy\_cprequest.py", line 606, in respond
cherrypy.response.body = self.handler()
File "...\SABnzbd\main\cherrypy\_cpdispatch.py", line 25, in __call__
return self.callable(*self.args, **self.kwargs)
File "...\SABnzbd\main\sabnzbd\interface.py", line 350, in api
return self.api_handler(kwargs)
File "...\SABnzbd\main\sabnzbd\interface.py", line 650, in api_handler
return str(int(downloader.get_limit(value)))
TypeError: get_limit() takes no arguments (1 given)