Skip to content
This repository was archived by the owner on Jan 13, 2021. It is now read-only.

Commit de309f7

Browse files
committed
Don't exit early.
1 parent eeb0701 commit de309f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hyper/ssl_compat.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ def send(self, data, flags=None):
145145
def selected_npn_protocol(self):
146146
proto = self._conn.get_next_proto_negotiated()
147147
if isinstance(proto, bytes):
148-
return proto.decode('ascii')
148+
proto = proto.decode('ascii')
149149

150150
return proto if proto else None
151151

0 commit comments

Comments
 (0)