remove debug code

This commit is contained in:
Alex Yatskov 2017-07-01 12:52:15 -07:00
parent e5ff8eea78
commit 3f453887df

View File

@ -540,7 +540,6 @@ class AnkiConnect:
def handler(self, request):
action = 'api_' + request.get('action', '')
if hasattr(self, action):
return getattr(self, action)(**(request.get('params') or {}))
try:
return getattr(self, action)(**(request.get('params') or {}))
except TypeError: