Skip to content

Commit 794a089

Browse files
author
Steve Kirkland
committed
bracket on new line
1 parent 654734f commit 794a089

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

bugsnag/configuration.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -593,9 +593,12 @@ def _create_null_logger(self) -> logging.Logger:
593593

594594
def _initialize_endpoints(self, endpoint, session_endpoint, api_key):
595595
# Default endpoints depending on the API key, if not already set
596-
if (endpoint is None and session_endpoint is None and
597-
self.endpoint is None and self.session_endpoint is None):
598-
596+
if (
597+
endpoint is None and
598+
session_endpoint is None and
599+
self.endpoint is None and
600+
self.session_endpoint is None
601+
):
599602
if _is_hub_api_key(api_key):
600603
self.endpoint = HUB_ENDPOINT
601604
self.session_endpoint = HUB_SESSIONS_ENDPOINT

0 commit comments

Comments
 (0)