having parameters here doesn't hurt anything
This commit is contained in:
parent
ef7d602bb6
commit
8c0450ce39
|
@ -678,8 +678,6 @@ class MySimpleXMLRPCRequestHandler(SimpleXMLRPCRequestHandler):
|
|||
shared.UISignalQueue.put(('rerenderSubscriptions', ''))
|
||||
return 'Deleted subscription if it existed.'
|
||||
elif method == 'listSubscriptions':
|
||||
if len(params) != 0:
|
||||
return "API Error 0000: I don't accept parameters!"
|
||||
shared.sqlLock.acquire()
|
||||
shared.sqlSubmitQueue.put('''SELECT label, address, enabled FROM subscriptions''')
|
||||
shared.sqlSubmitQueue.put('')
|
||||
|
|
Loading…
Reference in New Issue
Block a user