Arthur-Milchior / anki-enhanced-cloze

GNU General Public License v3.0
2 stars 1 forks source link

name 'callback' is not defined #8

Closed ijgnd closed 5 years ago

ijgnd commented 5 years ago

I did git clone https://github.com/Arthur-Milchior/anki-enhanced-cloze/ (as of 97aff30) into my addons21 folder and then ran anki without any other add-ons.

When I go to the browser I get this error:

...__init__.py", line 209, in on_save_now
    return _oldSaveNow(self, callback, keepFocus=False)
<class 'NameError'>: name 'callback' is not defined

I think you forgot to replace callback with *args in line 208 .return _oldSaveNow(self, callback, keepFocus=False)

ijgnd commented 5 years ago

solved in the latest version.