diff --git a/toot/console.py b/toot/console.py index e5ea144..e46f148 100644 --- a/toot/console.py +++ b/toot/console.py @@ -50,7 +50,7 @@ def editor(value): # Check editor executable exists exe = shutil.which(value) if not exe: - raise ArgumentTypeError(f"Editor `{value}` not found") + raise ArgumentTypeError("Editor `{}` not found".format(value)) return exe