Closed XAMPPRocky closed 1 year ago
When I pass folders as arguments to token I get a key error in tokei-pie
# in tokei repo token src -o json | tokei-pie Traceback (most recent call last): File "/opt/homebrew/bin/tokei-pie", line 8, in <module> sys.exit(main()) File "/opt/homebrew/lib/python3.9/site-packages/tokei_pie/main.py", line 213, in main sectors = read_root(data) File "/opt/homebrew/lib/python3.9/site-packages/tokei_pie/main.py", line 194, in read_root sectors.extend(read_reports(reports, key)) File "/opt/homebrew/lib/python3.9/site-packages/tokei_pie/main.py", line 173, in read_reports sectors = convert2sectors(tree, dict_reports, parent_id) File "/opt/homebrew/lib/python3.9/site-packages/tokei_pie/main.py", line 165, in convert2sectors dir2sector(".", dirs, reports, sectors, language) File "/opt/homebrew/lib/python3.9/site-packages/tokei_pie/main.py", line 115, in dir2sector stats = reports[item] KeyError: './input.rs'
Nvm I using an old version.
When I pass folders as arguments to token I get a key error in tokei-pie