Anki/qt
David Culley a5a39c9302
Fix 'NoneType object is not subscriptable' error (#3286)
* 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
2024-08-04 20:49:45 +07:00
..
aqt Fix 'NoneType object is not subscriptable' error (#3286) 2024-08-04 20:49:45 +07:00
bundle Add StartupWMClass for anki.desktop 2024-06-01 14:58:47 +07:00
icons move remaining Filter button items into sidebar 2021-02-05 18:58:22 +10:00
mac Ensure ankihelper is rebuilt on arch change 2024-04-03 15:07:50 +07:00
tests Change Anki's version scheme; bump to 23.09 (#2640) 2023-09-07 12:37:15 +10:00
tools Add APIs for IO mask editing (#2758) 2023-10-22 10:40:40 +10:00
.isort.cfg isort: remove settings covered by profile (#3281) 2024-07-20 18:13:12 +07:00
README.md minor doc updates 2020-12-11 22:37:12 +10:00
runanki.py get PyQt working directly with ./run on macOS 2021-10-16 18:07:29 +10:00

Python's Qt GUI is in aqt/