changeset 232:646ac5025273

text_x_arnica: fixed to much indenting
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Tue, 02 Sep 2008 10:51:03 +0200
parents c8897e9950a1
children ecda36d19fb8
files data/plugin/parser/text_x_arnica.py
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/data/plugin/parser/text_x_arnica.py	Tue Sep 02 10:13:22 2008 +0200
+++ b/data/plugin/parser/text_x_arnica.py	Tue Sep 02 10:51:03 2008 +0200
@@ -453,11 +453,11 @@
                 # ToDo may be it is better to just copy the image to the new location
                 # currently PIL does not support exif information
                 if self.image_for_webnail:
-                        buf = StringIO.StringIO()
-                        im_obj.save(buf, image_type)
-                        buf.flush()
-                        buf.seek(0)
-                        cache.put(self.request, webnail, buf, filename=image)
+                    buf = StringIO.StringIO()
+                    im_obj.save(buf, image_type)
+                    buf.flush()
+                    buf.seek(0)
+                    cache.put(self.request, webnail, buf, filename=image)
            # XXX later, a unit conversion method for using other units than 'px' is needed
             if not cache.exists(self.request, webnail):
                 try: