Browse Source

Merge pull request #342 from Cixelyn/master

Config documentation "instance_root" -> "instance_path"
pull/345/head
Ron DuPlain 13 years ago
parent
commit
5a7c02b541
  1. 2
      docs/config.rst

2
docs/config.rst

@ -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()

Loading…
Cancel
Save