diff --git a/calparrot/db.py b/calparrot/db.py index 507978c116d485082f64eb84c7cf722afbd0a82f..b1b19039d0617a51f73da3810cbc6e70abe2b683 100644 --- a/calparrot/db.py +++ b/calparrot/db.py @@ -49,6 +49,7 @@ class ResponsesDB: ).fetchone() if row is None: raise KeyError(url) + return row async def wait_get_response(self, url, req_body, poll_interval=0.5): while True: