From 8d95d743551129cbde7bd59faf95ac385472e9cd Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 27 Sep 2024 18:48:16 +0530 Subject: [PATCH] string changes --- src/calibre/utils/formatter_functions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/utils/formatter_functions.py b/src/calibre/utils/formatter_functions.py index 20ec80e7b3..f786273bcf 100644 --- a/src/calibre/utils/formatter_functions.py +++ b/src/calibre/utils/formatter_functions.py @@ -2651,7 +2651,7 @@ class BuiltinIsDarkMode(BuiltinFormatterFunction): "in dark mode, '' (the empty string) otherwise. This " "function can be used in advanced color and icon rules " "to choose different colors/icons according to the mode. " - "Example: if is_dark_mode() then 'dark.png' else 'light.png' fi ") + "Example: {} ").format("if is_dark_mode() then 'dark.png' else 'light.png' fi") def evaluate(self, formatter, kwargs, mi, locals): try: