- commit
- 434bc39c251f90817c73a7dbde1181ed1cdaf27c
- parent
- 2323fd31d2c3fffcbd6d50f8d060b6af1e3af4f3
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2025-08-24 06:34
use casefold for string comparison
Diffstat
| M | cplay.py | 2 | +- |
1 files changed, 1 insertions, 1 deletions
diff --git a/cplay.py b/cplay.py
@@ -76,7 +76,7 @@ def format_time(total): 76 76 77 77 78 78 def str_match(query, s):79 -1 return all(q in s.lower() for q in query.lower().split())-1 79 return all(q in s.casefold() for q in query.casefold().split()) 80 80 81 81 82 82 def resize(*_args):