-
-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When loading 'Life Drain' Error #37
Comments
The error is when importing Night Mode... |
To be honest, this feels more a Night Mode bug than a Life Drain bug, even though I can fix the exception being raised in Life Drain. |
anki-lifedrain/src/lifedrain/lifedrain.py Lines 788 to 792 in ebe5a43
At line 791, can you change |
I'm on the most recent version of Night Mode that's up on Add-ons for Anki 2.1 |
I made the edit; no longer get the error. Did that disable night mode for Life Drain? |
No, it only ignores the error. |
Thank you for the quick fix! |
When loading 'Life Drain':
Traceback (most recent call last):
File "aqt/addons.py", line 80, in loadAddons
File "/Users/csosborn/Library/Application Support/Anki2/addons21/715575551/init.py", line 4, in
from . import lifedrain # pylint: disable=unused-import
File "/Users/csosborn/Library/Application Support/Anki2/addons21/715575551/lifedrain.py", line 789, in
import Night_Mode
File "/Users/csosborn/Library/Application Support/Anki2/addons21/Night_Mode.py", line 99, in
nm_default_css_top = mw.toolbar._css
AttributeError: 'Toolbar' object has no attribute '_css'
The text was updated successfully, but these errors were encountered: