diff --git a/src/log.py b/src/log.py index 3b172c081..c4e7ada01 100755 --- a/src/log.py +++ b/src/log.py @@ -180,7 +180,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"]