Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
Signed-off-by: Jens Langhammer <[email protected]>
  • Loading branch information
BeryJu committed Jan 25, 2025
1 parent fcb1853 commit 3db3c69
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions authentik/lib/debug.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

LOGGER = get_logger()


def start_debug_server(**kwargs) -> bool:
"""Attempt to start a debugpy server in the current process.
Returns true if the server was started successfully, otherwise false"""
Expand All @@ -12,8 +13,10 @@ def start_debug_server(**kwargs) -> bool:
try:
import debugpy
except ImportError:
LOGGER.warning("Failed to import debugpy. debugpy is not included "
"in the default release dependencies and must be installed manually")
LOGGER.warning(
"Failed to import debugpy. debugpy is not included "
"in the default release dependencies and must be installed manually"
)
return False

listen: str = CONFIG.get("listen.listen_debug_py", "127.0.0.1:9901")
Expand Down

0 comments on commit 3db3c69

Please sign in to comment.