Skip to content

Commit 05a4d9d

Browse files
author
Kareem Zidane
committed
enable autocommit by default
1 parent 789bb40 commit 05a4d9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cs50/sql.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def __init__(self, url):
2424
dialect = self._get_dialect()
2525
self._is_postgres = dialect.name in {"postgres", "postgresql"}
2626
self._substitute_markers_with_params = statement_factory(dialect)
27-
self._autocommit = False
27+
self._autocommit = True
2828

2929
def _get_dialect(self):
3030
return self._session.get_bind().dialect

0 commit comments

Comments
 (0)