~foosoft/anki-connect

a50f1b20771659ef7ed46ce631ae2ee0fa91189e — Alex Yatskov 8 years ago 19d4bf9
Fixups
1 files changed, 2 insertions(+), 2 deletions(-)

M anki_connect.py
M anki_connect.py => anki_connect.py +2 -2
@@ 289,9 289,9 @@ class AnkiConnect:


    def handler(self, request):
        action = 'api_' + request.get('action', '')
        action = 'api_' + (request.get('action') or '')
        if hasattr(self, action):
            return getattr(self, action)(**request.get('params', {}))
            return getattr(self, action)(**(request.get('params') or {}))


    def api_deckNames(self):

Do not follow this link