Skip to content

Commit 2d4afb8

Browse files
committed
update scraper
1 parent 85bc1e2 commit 2d4afb8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tools/repo_stats/models.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
import markdown2
77
import requests
88
from dotenv import load_dotenv
9+
from loguru import logger
910
from pydantic import BaseModel
1011

1112
load_dotenv()
@@ -107,6 +108,7 @@ def check_answers(self) -> int | None:
107108
)
108109
output = p.stderr.read()
109110
output = output.decode("utf-8").split("\n")
111+
logger.info(output)
110112
lines = [line for line in output if "WARNING" in line]
111113
return len(lines) if len(lines) else None
112114
return None

0 commit comments

Comments
 (0)