From bd99179a431d81ddb108e56324aff0a62ae118f8 Mon Sep 17 00:00:00 2001 From: Madhusudan.C.S Date: Thu, 12 Nov 2009 12:49:02 +0530 Subject: Commented the print line. --- project/kiwipycon/user/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/project/kiwipycon/user/utils.py b/project/kiwipycon/user/utils.py index b912a7b..ad492a4 100644 --- a/project/kiwipycon/user/utils.py +++ b/project/kiwipycon/user/utils.py @@ -66,7 +66,7 @@ def kiwipycon_createuser(request, data): filename = handle_uploaded_photo(user, request.FILES['photo']) if filename: profile.photo = filename - print photo, filename + #print photo, filename profile.url = data.get("url") profile.about = data.get("about") @@ -111,7 +111,7 @@ def handle_uploaded_photo(user, ufile): th = int(round(nw / pr)) image = image.resize((nw, th), Image.ANTIALIAS) t = int(round(( th - nh ) / 2.0)) - print((0, t, nw, t + nh)) + #print((0, t, nw, t + nh)) image = image.crop((0, t, nw, t + nh)) else: # photo aspect matches the destination ratio -- cgit