Fix compatibility with py<3.6

pull/113/head
Ivan Habunek 2019-08-29 12:46:00 +02:00
rodzic 73ba70eb83
commit 6f8cd86417
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: CDBD63C43A30BB95
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

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