kopia lustrzana https://github.com/ihabunek/toot
Fix compatibility with py<3.6
rodzic
73ba70eb83
commit
6f8cd86417
|
@ -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
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue