Browse Source

Fixed a failing testcase

pull/483/head
Armin Ronacher 13 years ago
parent
commit
34bbd3100b
  1. 4
      flask/helpers.py

4
flask/helpers.py

@ -726,7 +726,9 @@ class _PackageBoundObject(object):
.. versionadded:: 0.9 .. versionadded:: 0.9
""" """
return {} options = {}
options['cache_timeout'] = current_app.config['SEND_FILE_MAX_AGE_DEFAULT']
return options
def send_static_file(self, filename): def send_static_file(self, filename):
"""Function used internally to send static files from the static """Function used internally to send static files from the static

Loading…
Cancel
Save