Skip to content

Commit

Permalink
Fix line length for PEP8
Browse files Browse the repository at this point in the history
  • Loading branch information
brew committed May 30, 2016
1 parent fcd62c1 commit 9fed8b4
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions ckanext/example_flask_iroutes/plugin.py
Expand Up @@ -25,12 +25,14 @@ def override_pylons_about_with_core_template():
def override_flask_hello():
'''A simple replacement for the flash Hello view function.'''
html = '''<!DOCTYPE html>
<html>
<head>
<title>Hello from Flask</title>
</head>
<body>Hello World, this is served from an extension, overriding the flask url.</body>
</html>'''
<html>
<head>
<title>Hello from Flask</title>
</head>
<body>
Hello World, this is served from an extension, overriding the flask url.
</body>
</html>'''

return render_template_string(html)

Expand Down

0 comments on commit 9fed8b4

Please sign in to comment.