Browse Source

Changing instance_root to instance_path

pull/342/head
Cory Li 13 years ago
parent
commit
e4d9ccd6ec
  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