fix(dashboard): correct unsupported-mode fallback warning f-string (#2094)

This commit is contained in:
Max authored and GitHub committed 2026-09-21 20:37:50 +02:00
1 parent 8833e5e873
commit ed2e7a20cc
2 files changed
+3 -1

No files matched your search

+2
View File
@@ -81,6 +81,8 @@ Status of the `main` branch. Changes prior to the next official version change w
Serena's own tools to close the gap (#1852)
* Dashboard:
- Fix: DashboardManager's unsupported-mode fallback warning logged the literal text
`{fallback_mode.value}` because only the first string fragment was an f-string
- Fix: On macOS, the tray manager refreshed the tray menu straight from the Flask request handlers
for `/register`, `/update_project` and `/unregister` and from the alive-check thread. That reaches
`NSStatusItem.setMenu_()` off the main thread, which AppKit forbids and which recent macOS
+1 -1
View File
@@ -439,7 +439,7 @@ class DashboardManager:
fallback_mode = self.Mode.from_platform()
log.warning(
f"Dashboard interface mode '{mode.value}' is not supported on the current platform; "
"falling back to '{fallback_mode.value}'."
f"falling back to '{fallback_mode.value}'."
)
mode = fallback_mode