remove debug code
This commit is contained in:
parent
e5ff8eea78
commit
3f453887df
@ -540,7 +540,6 @@ class AnkiConnect:
|
|||||||
def handler(self, request):
|
def handler(self, request):
|
||||||
action = 'api_' + request.get('action', '')
|
action = 'api_' + request.get('action', '')
|
||||||
if hasattr(self, action):
|
if hasattr(self, action):
|
||||||
return getattr(self, action)(**(request.get('params') or {}))
|
|
||||||
try:
|
try:
|
||||||
return getattr(self, action)(**(request.get('params') or {}))
|
return getattr(self, action)(**(request.get('params') or {}))
|
||||||
except TypeError:
|
except TypeError:
|
||||||
|
Loading…
Reference in New Issue
Block a user