diff --git a/mslib/index.py b/mslib/index.py index ccdec930e..340fe9cd3 100644 --- a/mslib/index.py +++ b/mslib/index.py @@ -204,7 +204,7 @@ def help(): @APP.route("/mss/imprint") def imprint(): - if os.path.exists(imprint_file): + if file_exists(imprint_file): content = get_content(imprint_file) return render_template("/content.html", act="imprint", content=content) else: @@ -212,7 +212,7 @@ def imprint(): @APP.route("/mss/gpdr") def gdpr(): - if os.path.exists(gdpr_file): + if file_exists(gdpr_file): content = get_content(gdpr_file) return render_template("/content.html", act="gdpr", content=content) else: