summaryrefslogtreecommitdiff
path: root/project
diff options
context:
space:
mode:
authorMadhusudan.C.S2009-11-12 12:49:02 +0530
committerMadhusudan.C.S2009-11-12 12:49:02 +0530
commitbd99179a431d81ddb108e56324aff0a62ae118f8 (patch)
tree5c564314b6688d13b70741fbcfbdec35444b5ad4 /project
parent40db415007febd59b956ce6bcbbaa87b8ec5636b (diff)
downloadscipycon-bd99179a431d81ddb108e56324aff0a62ae118f8.tar.gz
scipycon-bd99179a431d81ddb108e56324aff0a62ae118f8.tar.bz2
scipycon-bd99179a431d81ddb108e56324aff0a62ae118f8.zip
Commented the print line.
Diffstat (limited to 'project')
-rw-r--r--project/kiwipycon/user/utils.py4
1 files 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