Skip to content

Commit 3db340e

Browse files
committed
reformat
1 parent b275e6a commit 3db340e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

MySQLdb/connections.py

+2
Original file line numberDiff line numberDiff line change
@@ -224,8 +224,10 @@ class object, used to create cursors (keyword only)
224224
self.converter[FIELD_TYPE.JSON] = str
225225

226226
db = proxy(self)
227+
227228
def unicode_literal(u, dummy=None):
228229
return db.string_literal(u.encode(db.encoding))
230+
229231
self.encoders[str] = unicode_literal
230232

231233
self._transactional = self.server_capabilities & CLIENT.TRANSACTIONS

0 commit comments

Comments
 (0)