Update log.py: fix fstring with no arg

This commit is contained in:
Alexandre Aubin 2024-05-19 20:51:45 +02:00 committed by GitHub
parent f6d38bebee
commit 0a5dd1b099
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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"]