From 0a5dd1b09976f2a3755c7fadb7df93db855a783e Mon Sep 17 00:00:00 2001 From: Alexandre Aubin <4533074+alexAubin@users.noreply.github.com> Date: Sun, 19 May 2024 20:51:45 +0200 Subject: [PATCH] Update log.py: fix fstring with no arg --- src/log.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/log.py b/src/log.py index 6b40ac17f..818d0c1a9 100755 --- a/src/log.py +++ b/src/log.py @@ -183,7 +183,7 @@ def log_show( logs = list(log_list()["operation"]) if position > len(logs): - raise YunohostValidationError(f"There isn't that many logs", raw_msg=True) + raise YunohostValidationError("There isn't that many logs", raw_msg=True) path = logs[-position]["path"]