summaryrefslogtreecommitdiffstats
path: root/Scripts/libtastt.py
diff options
context:
space:
mode:
authoryum <yum.food.vr@gmail.com>2023-08-31 17:42:38 -0700
committeryum <yum.food.vr@gmail.com>2023-08-31 18:01:20 -0700
commit27fe526383809390c12f1645ce1d52d189c8ac08 (patch)
treeacd808fd454d2a748c2055a27dd4fe52df6a403a /Scripts/libtastt.py
parent3db4f81573d89f6ebefb5ec119c7d66affc1a4a0 (diff)
Clean up UI stoi pattern
wxWidgets encodes text inputs & multiple-choice inputs as strings. I frequently have to convert these into ints & apply a range check. Encapsulate that in a function and use a shitty little ASSIGN_OR_RETURN macro to make the parsing as concise as possible. Also delete unused WhisperCPP config settings.
Diffstat (limited to 'Scripts/libtastt.py')
0 files changed, 0 insertions, 0 deletions