Skip to content
This repository has been archived by the owner on Feb 22, 2024. It is now read-only.

Commit

Permalink
Fix string formatting bug in recent view
Browse files Browse the repository at this point in the history
Caught in production ... this is why I need to finish #205
  • Loading branch information
dellsystem committed Mar 21, 2014
1 parent b5a30c1 commit 7c7ebcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion views/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def login_logout(request):
# Recent changes
def recent(request, num_days=1, show_all=False):
base_title = 'All recent activity' if show_all else 'Recent activity'
title = "%s in the past %d day(s)" % (base_title, num_days)
title = "%s in the past %s day(s)" % (base_title, num_days)

data = {
'title': title,
Expand Down

0 comments on commit 7c7ebcc

Please sign in to comment.