From df355b19af6a1f079db40f69578a3a2fd214b179 Mon Sep 17 00:00:00 2001 From: Kevin Pulo Date: Thu, 26 Mar 2026 16:09:38 +1100 Subject: [PATCH] external_script: always pass a string to safe_format Fixes #2319 --- py3status/modules/external_script.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py3status/modules/external_script.py b/py3status/modules/external_script.py index be9740c09d..5d3ab0a8c9 100644 --- a/py3status/modules/external_script.py +++ b/py3status/modules/external_script.py @@ -113,7 +113,7 @@ def external_script(self): script_data = { "output": output, "lines": len(output_lines), - "composite": self.py3.safe_format(output), + "composite": self.py3.safe_format(str(output)), } response["full_text"] = self.py3.safe_format(self.format, script_data) return response