changeset 426:2800dd19d154

action.SvgEditor: wrong filename for logentry fixed
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Tue, 22 Sep 2009 11:03:49 +0200
parents cb407ef26818
children 34041dfc1b69
files data/plugin/action/SvgEditor.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/data/plugin/action/SvgEditor.py	Tue Sep 22 11:02:09 2009 +0200
+++ b/data/plugin/action/SvgEditor.py	Tue Sep 22 11:03:49 2009 +0200
@@ -85,7 +85,7 @@
         filecontent = request.values.get('svg_data', '')
         target = request.values.get('target', 'example.svg')
         if filecontent:
-            AttachFile._addLogEntry(request, 'ATTDRW', pagename, target + '.svg')
+            AttachFile._addLogEntry(request, 'ATTDRW', pagename, target)
             # get directory, and possibly create it
             attach_dir = AttachFile.getAttachDir(request, pagename, create=1)
             # save file