Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 470eb56

Browse filesBrowse files
committed
Fix typo.
1 parent c1b8e8a commit 470eb56
Copy full SHA for 470eb56

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎MySQLdb/connections.py

Copy file name to clipboardExpand all lines: MySQLdb/connections.py
+1-1Lines changed: 1 addition & 1 deletion
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.