Skip to content

Commit

Permalink
Ignore connect_timeout=0 option
Browse files Browse the repository at this point in the history
  • Loading branch information
NoneGG authored and methane committed Dec 19, 2016
1 parent eced982 commit f7177a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pymysql/connections.py
Original file line number Diff line number Diff line change
Expand Up @@ -670,7 +670,7 @@ def _config(key, arg):
self.client_flag = client_flag

self.cursorclass = cursorclass
self.connect_timeout = connect_timeout
self.connect_timeout = connect_timeout or None

self._result = None
self._affected_rows = 0
Expand Down

0 comments on commit f7177a0

Please sign in to comment.