AnKing-VIP / AnkiRecolor

Recolor addon commissioned by and created for AnKing
39 stars 8 forks source link

Error when accessing in reviewer #1

Closed AnKingMed closed 3 years ago

AnKingMed commented 3 years ago
Caught exception:
Traceback (most recent call last):
  File "C:\Users\gusta\AppData\Roaming\Anki2\addons21\ReColor\ankiaddonconfig\window.py", line 100, in on_save
    hook()
  File "C:\Users\gusta\AppData\Roaming\Anki2\addons21\ReColor\config.py", line 41, in on_save
    recolor_python()
  File "C:\Users\gusta\AppData\Roaming\Anki2\addons21\ReColor\colors.py", line 54, in recolor_python
    refresh_all_windows()
  File "C:\Users\gusta\AppData\Roaming\Anki2\addons21\ReColor\colors.py", line 26, in refresh_all_windows
    mw.reviewer.refresh()  # type: ignore
AttributeError: 'Reviewer' object has no attribute 'refresh'
BlueGreenMagick commented 3 years ago

Fixed in v1.2. Can you upload the new version?

AnKingMed commented 3 years ago

Thanks! I'll upload this!