]> git.armaanb.net Git - lightcards.git/blobdiff - lightcards/parse.py
Make file not found error print more standard
[lightcards.git] / lightcards / parse.py
index d0b0eb5c001e19cf98f64c7aa1c5d8675f7bdeda..007b6408321b550257c45192177256296c952d9f 100755 (executable)
@@ -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)