changeset 71:42ec0fd97f59

arnica_slides: removed replace for cutting
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Fri, 06 Jun 2008 20:52:24 +0200
parents beea6a9e50c2
children 86d3fcf5c787
files data/plugin/action/arnica_slides.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/data/plugin/action/arnica_slides.py	Fri Jun 06 20:26:16 2008 +0200
+++ b/data/plugin/action/arnica_slides.py	Fri Jun 06 20:52:24 2008 +0200
@@ -331,11 +331,11 @@
         if url == this_image:
             txt += '<option selected value="%(name)s">%(alias)s' % {
                     "name": this_image,
-                    "alias": filename.replace('tmp.', '')}
+                    "alias": filename[4:]}
         else:
             txt += '<option value="%(name)s">%(alias)s' % {
                     "name": this_image,
-                    "alias": filename.replace('tmp.', '')}
+                    "alias": filename[4:]}
 
     return txt