Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/cactus_client_notifications/server/handler.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import http
import logging
from importlib.metadata import version

from aiohttp import ContentTypeError, web

Expand All @@ -20,6 +21,8 @@
APPKEY_SERVER_STATS,
)

VERSION = version("cactus_client_notifications")

logger = logging.getLogger(__name__)


Expand Down Expand Up @@ -260,7 +263,7 @@ async def get_manage_server(request: web.Request) -> web.Response:

sep = "-" * 40
lines: list[str] = [
"CACTUS Client Notifications Server",
f"CACTUS Client Notifications Server {VERSION}",
sep,
"SETTINGS",
f"Started: {stats.created_at.isoformat()}",
Expand Down