diff options
| author | Georg Pfuetzenreuter | 2024-08-22 01:04:18 +0200 |
|---|---|---|
| committer | Georg Pfuetzenreuter | 2024-08-22 01:04:18 +0200 |
| commit | c35277bf59c021d2baaec5c90d9896201ac9a116 (patch) | |
| tree | 189178bd4f7a2775b7b89abaa90720183725fa35 /test.py | |
| parent | fbc58b0f7d3587bf81a735f44b46959d73b9e55a (diff) | |
| download | unicodeemoji-c35277bf59c021d2baaec5c90d9896201ac9a116.tar.gz unicodeemoji-c35277bf59c021d2baaec5c90d9896201ac9a116.tar.bz2 unicodeemoji-c35277bf59c021d2baaec5c90d9896201ac9a116.zip | |
More resilient lookup
To improve the user experience:
- on queries of non-existent emotes, fall back to a default
instead of returning KeyError
- allow lookup of emotes regardless of capitalization
Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
Diffstat (limited to 'test.py')
0 files changed, 0 insertions, 0 deletions
