project-stats

keep track of your projects
git clone https://git.ce9e.org/project-stats.git

commit
0d31a6e062ed54029e9976a52a7d3af4028d0eb5
parent
fcb3a37a64fa51523fab58ba7b9343b2658fbda0
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2025-08-24 06:43
use casefold for string comparison

Diffstat

M project_stats.py 2 +-

1 files changed, 1 insertions, 1 deletions


diff --git a/project_stats.py b/project_stats.py

@@ -446,7 +446,7 @@ def main():
  446   446 
  447   447     keys = config['projects'].keys()
  448   448     if args.query is not None:
  449    -1         keys = [k for k in keys if args.query.lower() in k.lower()]
   -1   449         keys = [k for k in keys if args.query.casefold() in k.casefold()]
  450   450 
  451   451     if args.list and args.sort is None:
  452   452         for key in keys: