Skip to content

Commit b02fae4

Browse files
authoredMar 10, 2018
Update sql.py
1 parent 6b48d14 commit b02fae4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/cs50/sql.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def _parse(self, e):
5959
return matches.group(1)
6060

6161
# PostgreSQL
62-
matches = re.search(r"^\((psycopg2\.OperationalError)\) (.+)$", str(e))
62+
matches = re.search(r"^\(psycopg2\.OperationalError\) (.+)$", str(e))
6363
if matches:
6464
return matches.group(1)
6565

0 commit comments

Comments
 (0)
Please sign in to comment.