AnKing-VIP / anki-bionic-reading

Bionic Reading add-on for Anki
GNU Affero General Public License v3.0
0 stars 0 forks source link

Error on load #1

Closed AnKingMed closed 2 years ago

AnKingMed commented 2 years ago

This was working, but then I changed profiles and clicked a deck and got an error. Restarted and got this error on loading a profile

Add-ons possibly involved: ⁨Bionic Reading⁩

Caught exception: Traceback (most recent call last): File "aqt.progress", line 118, in handler File "aqt.main", line 197, in on_window_init File "aqt.hooks_gen", line 2801, in call File "/Users/Nick/Library/Application Support/Anki2/addons21/bionic_reading/main.py", line 61, in on_anki_start add_script_to_media_folder() File "/Users/Nick/Library/Application Support/Anki2/addons21/bionic_reading/main.py", line 49, in add_script_to_media_folder if not mw.col.media.have("_bionic-reading.js"): AttributeError: 'NoneType' object has no attribute 'media'

BlueGreenMagick commented 2 years ago

Fixed at 2b8ff441d71fea2cff3f0b70ecff8f6eabdec2ed