From 6f8cd8641782093cb0a043e7789108f6cacb0aa2 Mon Sep 17 00:00:00 2001 From: Ivan Habunek Date: Thu, 29 Aug 2019 12:46:00 +0200 Subject: [PATCH] Fix compatibility with py<3.6 --- toot/console.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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