From 7f032ac9f1bdfed27bcdb8df31dd995f2de1fa22 Mon Sep 17 00:00:00 2001 From: Jesse Newland Date: Fri, 5 Jun 2009 15:27:06 -0400 Subject: [PATCH] fix whitespace --- flickrtouchr.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/flickrtouchr.py b/flickrtouchr.py index e818672..3fcf4ce 100644 --- a/flickrtouchr.py +++ b/flickrtouchr.py @@ -171,10 +171,10 @@ def getphoto(id, token, filename): sizes = dom.getElementsByTagName("size") # Grab the original if it exists - if (sizes[-1].getAttribute("label") == "Original"): - imgurl = sizes[-1].getAttribute("source") - else: - print "Failed to get original for photo id " + id + if (sizes[-1].getAttribute("label") == "Original"): + imgurl = sizes[-1].getAttribute("source") + else: + print "Failed to get original for photo id " + id # Free the DOM memory -- 2.43.0