Skip to content

Commit 7806481

Browse files
committed
ref(transport): Remove redundant checks for dsn
1 parent ab08b7e commit 7806481

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sentry_sdk/transport.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ class Transport(ABC):
106106

107107
def __init__(self: "Self", options: "Optional[Dict[str, Any]]" = None) -> None:
108108
self.options = options
109-
if options and options["dsn"] is not None and options["dsn"]:
109+
if options and options["dsn"]:
110110
self.parsed_dsn = Dsn(options["dsn"], options.get("org_id"))
111111
else:
112112
self.parsed_dsn = None

0 commit comments

Comments
 (0)