mirror of
https://github.com/ankitects/anki.git
synced 2025-11-06 12:47:11 -05:00
* fix: ensure none of the returned values is None Fixes TypeError 'NoneType' object is not subscriptable * refactor: reduce code duplication using a function * refactor: prefer KeyError over None for dicts If the key is not in the dictionary, we want to raise a KeyError rather than returning None. That way, we can distinguish between whether the value was None or the key was not found. * chore: add myself to CONTRIBUTORS file * refactor: simplify the code |
||
|---|---|---|
| .. | ||
| aqt | ||
| bundle | ||
| icons | ||
| mac | ||
| tests | ||
| tools | ||
| .isort.cfg | ||
| README.md | ||
| runanki.py | ||
Python's Qt GUI is in aqt/