From 3f453887df3281884dd11b2442bc0aae9b2208df Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Sat, 1 Jul 2017 12:52:15 -0700 Subject: [PATCH] remove debug code --- AnkiConnect.py | 1 - 1 file changed, 1 deletion(-) diff --git a/AnkiConnect.py b/AnkiConnect.py index 3f25a9f..31f116a 100644 --- a/AnkiConnect.py +++ b/AnkiConnect.py @@ -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: