From 9934528c8f7e3aa6f4a1c800cba439e5425a5093 Mon Sep 17 00:00:00 2001 From: Dan Mirsky Date: Thu, 9 Jun 2022 09:12:10 -0700 Subject: [PATCH] Update send_from_directory docstring --- src/flask/helpers.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/flask/helpers.py b/src/flask/helpers.py index fe47500e..1e0732b3 100644 --- a/src/flask/helpers.py +++ b/src/flask/helpers.py @@ -649,7 +649,8 @@ def send_from_directory( If the final path does not point to an existing regular file, raises a 404 :exc:`~werkzeug.exceptions.NotFound` error. - :param directory: The directory that ``path`` must be located under. + :param directory: The directory that ``path`` must be located under, + relative to the current application's root path. :param path: The path to the file to send, relative to ``directory``. :param kwargs: Arguments to pass to :func:`send_file`.