From b5011bd4dd88f63bc61040965175def968489e66 Mon Sep 17 00:00:00 2001 From: Armaan Bhojwani Date: Sun, 31 Jan 2021 17:13:15 -0500 Subject: [PATCH] Make file not found error print more standard --- lightcards/parse.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lightcards/parse.py b/lightcards/parse.py index d0b0eb5..007b640 100755 --- a/lightcards/parse.py +++ b/lightcards/parse.py @@ -15,7 +15,7 @@ def md2html(file): with open(file, "r", encoding="utf-8") as input_file: return markdown.markdown(input_file.read(), extensions=['tables']) except FileNotFoundError: - print(f"File \"{file}\" not found!") + print(f"lightcards: \"{file}\": No such file or directory") exit(1) -- 2.39.2