changeset 179:00e363a155c4

text_x_arnica: removed extension of the key
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Wed, 16 Jul 2008 20:29:51 +0200
parents d29abc5e4b4f
children 17e1c3d004bf
files data/plugin/parser/text_x_arnica.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/data/plugin/parser/text_x_arnica.py	Wed Jul 16 07:49:51 2008 +0200
+++ b/data/plugin/parser/text_x_arnica.py	Wed Jul 16 20:29:51 2008 +0200
@@ -395,8 +395,8 @@
             self.high_resolution_image.append(attfile)
             fname, ext = os.path.splitext(attfile)
             key = cache.key(self.request, itemname=self.pagename, attachname=attfile)
-            webnail = 'W' + key + ext
-            thumbfile = 'T' + key + ext
+            webnail = 'W' + key
+            thumbfile = 'T' + key
             if ext in ('.gif', '.png'):
                 self.imgtype.append('PNG')
             else: