hssm/anki-addons

Incompatibility with bettertags addon

aPaci95 opened this issue · 0 comments

Please, could you addon compatibility with bettertags addon by Glutanimate ? It works but it keeps creating errors everytime i rename a tag.

Anki 2.1.19 (3c8690ae) Python 3.8.0 Qt 5.14.0 PyQt 5.13.2
Platform: Windows 10
Flags: frz=True ao=True sv=1

Caught exception:
Traceback (most recent call last):
File "aqt\webview.py", line 28, in cmd
File "aqt\webview.py", line 94, in onCmd
File "aqt\webview.py", line 407, in onBridgeCmd
File "<C:\Program Files\Anki\decorator.pyc:decorator-gen-64>", line 2, in onBridgeCmd
File "lib\site-packages\anki\hooks.py", line 82, in decorator_wrapper
File "lib\site-packages\anki\hooks.py", line 76, in repl
File "C:\Users\pacia\AppData\Roaming\Anki2\addons21\3491767031_init
.py", line 216, in myOnBridgeCmd
count = getConfig(self,getKeyForContext(self), defaultValue=1)
File "C:\Users\pacia\AppData\Roaming\Anki2\addons21\3491767031_init
.py", line 158, in getKeyForContext
key = str(self.note.mid)
AttributeError: 'NoneType' object has no attribute 'mid'