RunaCapital/awesome-oss-alternatives

sort.py

GiveMeFox opened this issue · 1 comments

Traceback (most recent call last):
File "/disc1/programming/awesome-oss-alternatives/sort.py", line 25, in
sort_readme()
File "/disc1/programming/awesome-oss-alternatives/sort.py", line 12, in sort_readme
pairs = [(find_cat(x), find_name(x)) for x in all[idx + 2: -1]]
File "/disc1/programming/awesome-oss-alternatives/sort.py", line 12, in
pairs = [(find_cat(x), find_name(x)) for x in all[idx + 2: -1]]
File "/disc1/programming/awesome-oss-alternatives/sort.py", line 10, in
find_cat = lambda x: x[:x.index('|')].strip()
ValueError: substring not found

It is actually solved, so closing :)