From 2dec758d9416c07a8fe7f76b18376e8dca745449 Mon Sep 17 00:00:00 2001 From: Changaco Date: Wed, 26 Feb 2014 23:49:03 +0100 Subject: [PATCH] import get_avatar_url() function used by included templates --- www/%username/history/index.html.spt | 2 +- www/%username/widgets/index.html.spt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/www/%username/history/index.html.spt b/www/%username/history/index.html.spt index cbd7a2d1db..4cfa072918 100644 --- a/www/%username/history/index.html.spt +++ b/www/%username/history/index.html.spt @@ -2,7 +2,7 @@ from decimal import Decimal from aspen import Response, log from aspen.utils import to_age -from gittip.utils import get_participant +from gittip.utils import get_participant, get_avatar_url db = website.db diff --git a/www/%username/widgets/index.html.spt b/www/%username/widgets/index.html.spt index a1b3bdb0de..0fbad82bbd 100644 --- a/www/%username/widgets/index.html.spt +++ b/www/%username/widgets/index.html.spt @@ -1,5 +1,5 @@ from aspen import Response -from gittip.utils import get_participant +from gittip.utils import get_participant, get_avatar_url [-----------------------------------------------------------------------------] participant = get_participant(request, restrict=True)