mirror of
https://github.com/tiennm99/serena.git
synced 2026-10-11 03:13:51 +00:00
fix(dashboard): correct unsupported-mode fallback warning f-string (#2094)
This commit is contained in:
2 files changed
+3
-1
No files matched your search
@@ -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
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user