fix typo with new python
This commit is contained in:
parent
1103b95c37
commit
814cf6bb0e
@ -36,7 +36,7 @@ class ColdCall():
|
|||||||
previous_questions = defaultdict(int)
|
previous_questions = defaultdict(int)
|
||||||
|
|
||||||
for fn in listdir("./data/"):
|
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:
|
with open(f"./data/{fn}", 'r') as f:
|
||||||
for row in DictReader(f, delimiter="\t"):
|
for row in DictReader(f, delimiter="\t"):
|
||||||
if not row["answered"] == "FALSE":
|
if not row["answered"] == "FALSE":
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user