Skip to content

Commit 999e708

Browse files
KRRT7aseembits93
andauthored
Update codeflash/api/cfapi.py
Co-authored-by: Aseem Saxena <aseem.bits@gmail.com>
1 parent 0316b2b commit 999e708

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

codeflash/api/cfapi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ def get_blocklisted_functions() -> dict[str, set[str]] | dict[str, Any]:
361361

362362
content: dict[str, list[str]] = req.json()
363363

364-
if "error" in content:
364+
if "error" in content.lower():
365365
logger.debug(f"No existing optimizations found for PR #{pr_number}")
366366
return {}
367367

0 commit comments

Comments
 (0)