Skip to content

Commit

Permalink
Fix broken style.
Browse files Browse the repository at this point in the history
  • Loading branch information
teleyinex committed Jun 26, 2017
1 parent b682149 commit d624666
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pybossa/view/projects.py
Expand Up @@ -1409,7 +1409,9 @@ def show_blogposts(short_name):
pro = pro_features()
project = add_custom_contrib_button_to(project, get_user_id_or_ip(), ps=ps)

project_sanitized, owner_sanitized = sanitize_project_owner(project, owner, current_user)
project_sanitized, owner_sanitized = sanitize_project_owner(project,
owner,
current_user)

response = dict(template='projects/blog.html',
project=project_sanitized,
Expand All @@ -1419,7 +1421,7 @@ def show_blogposts(short_name):
n_tasks=ps.n_tasks,
n_task_runs=ps.n_task_runs,
n_completed_tasks=ps.n_completed_tasks,
n_volunteers=ps.n_volunteers),
n_volunteers=ps.n_volunteers,
pro_features=pro)
return handle_content_type(response)

Expand Down

0 comments on commit d624666

Please sign in to comment.