PEP8 formatting

This commit is contained in:
2017-09-19 13:45:48 +02:00
parent 19ccffa4ae
commit 41d47cdeb8

View File

@@ -17,14 +17,12 @@ from pillar.web.utils import attach_project_pictures
from pillar.web.settings import blueprint as blueprint_settings
from pillar.web.nodes.routes import url_for_node
blueprint = Blueprint('cloud', __name__)
log = logging.getLogger(__name__)
@blueprint.route('/')
def homepage():
if current_user.is_anonymous:
return redirect(url_for('cloud.welcome'))
@@ -152,6 +150,7 @@ def welcome():
@current_app.cache.cached(timeout=3600, unless=current_user_is_authenticated)
def render_page():
return render_template('welcome.html')
return render_page()