Skip to content

Commit

Permalink
fix: syntax warning
Browse files Browse the repository at this point in the history
  • Loading branch information
gabor-boros committed Dec 5, 2020
1 parent 7437642 commit b5d19a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rethinkdb/net.py
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ def __init__(self, parent, timeout):
break
# This may happen in the `V1_0` protocol where we send two requests as
# an optimization, then need to read each separately
if request is not "":
if request != "":
self.sendall(request)

# The response from the server is a null-terminated string
Expand Down

0 comments on commit b5d19a0

Please sign in to comment.