Single quotes for consistency

This commit is contained in:
Armin Ronacher 2011-09-10 23:20:58 +02:00
parent 4e12eb4c74
commit 7d7d810aea

View file

@ -952,7 +952,7 @@ class Flask(_PackageBoundObject):
:class:`~werkzeug.routing.Rule` object.
"""
def decorator(f):
endpoint = options.pop("endpoint", None)
endpoint = options.pop('endpoint', None)
self.add_url_rule(rule, endpoint, f, **options)
return f
return decorator