Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b4b5cde

Browse files
committed
Update subs
1 parent af1527b commit b4b5cde

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plotly/plotly/chunked_requests/chunked_request.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def write(self, data, reconnect_on=('', 200, )):
3131
response = self._getresponse()
3232

3333
# Reconnect depending on the status code.
34-
if ((response == '' and '' in reconnect_on()) or
34+
if ((response == '' and '' in reconnect_on) or
3535
(response and isinstance(response, httplib.HTTPResponse) and
3636
response.status in reconnect_on)):
3737
self._reconnect()

0 commit comments

Comments
 (0)