Merge pull request #342 from Cixelyn/master

Config documentation "instance_root" -> "instance_path"
This commit is contained in:
Ron DuPlain 2011-11-02 06:13:14 -07:00
commit 5a7c02b541

View file

@ -375,7 +375,7 @@ file from the instance folder with :meth:`Flask.open_instance_resource`.
Example usage for both::
filename = os.path.join(app.instance_root, 'application.cfg')
filename = os.path.join(app.instance_path, 'application.cfg')
with open(filename) as f:
config = f.read()