17
0

fix typo with new python

This commit is contained in:
Benjamin Mako Hill 2025-09-26 12:24:53 -07:00
parent 1103b95c37
commit 814cf6bb0e

View File

@ -36,7 +36,7 @@ class ColdCall():
previous_questions = defaultdict(int)
for fn in listdir("./data/"):
if re.match("call_list-\d{4}-\d{2}-\d{2}.tsv", fn):
if re.match(r"call_list-\d{4}-\d{2}-\d{2}.tsv", fn):
with open(f"./data/{fn}", 'r') as f:
for row in DictReader(f, delimiter="\t"):
if not row["answered"] == "FALSE":