Skip to content

Commit 5ed5d0f

Browse files
committed
fix lint
1 parent c601215 commit 5ed5d0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sentry_sdk/transport.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -806,7 +806,7 @@ def make_transport(options):
806806
# We default to using HTTP2 transport if the user also has the required h2
807807
# library installed (through the subclass check). The reason is h2 not being
808808
# available on py3.7 which we still support.
809-
use_http2_transport = options.get("http2") != False and not issubclass(
809+
use_http2_transport = options.get("http2") is not False and not issubclass(
810810
Http2Transport, HttpTransport
811811
)
812812

0 commit comments

Comments
 (0)