fix count cars script

old-commit-hash: 3ab2d29fb8d14b04567941c130e878ab1995b907
This commit is contained in:
Adeeb Shihadeh
2021-09-15 11:31:45 -07:00
parent 2712607627
commit 2ded81d455
2 changed files with 3 additions and 3 deletions

View File

@@ -2,7 +2,7 @@
import os
from common.basedir import BASEDIR
with open(os.path.join(BASEDIR, "README.md")) as f:
with open(os.path.join(BASEDIR, "docs/CARS.md")) as f:
lines = f.readlines()
cars = [l for l in lines if l.strip().startswith("|") and l.strip().endswith("|") and
"Make" not in l and any(c.isalpha() for c in l)]