Skip to content

Commit 470eb56

Browse files
committed
Fix typo.
1 parent c1b8e8a commit 470eb56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MySQLdb/connections.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ def string_decoder(s):
233233
# PEP-249 requires autocommit to be initially off
234234
autocommit = kwargs2.pop('autocommit', False)
235235
if autocommit is not None:
236-
self.autocommit(bool(True))
236+
self.autocommit(bool(autocommit))
237237
self.messages = []
238238

239239
def cursor(self, cursorclass=None):

0 commit comments

Comments
 (0)