diff MoinMoin/action/AttachFile.py @ 3253:ba0707fe183d

EmbedObject: fixed some variable names, and escaping of target in AttachFile
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Fri, 14 Mar 2008 15:46:27 +0100
parents 0f582c5d2b9f
children f62792cb2d24 e06e15e90ba7
line wrap: on
line diff
--- a/MoinMoin/action/AttachFile.py	Fri Mar 14 13:10:19 2008 +0100
+++ b/MoinMoin/action/AttachFile.py	Fri Mar 14 15:46:27 2008 +0100
@@ -1007,7 +1007,7 @@
         request.write('For using an external program follow this link %s' % link)
         return
 
-    request.write(EmbedObject.macro_EmbedObject(macro,  wikiutil.escape(filename), pagename=pagename))
+    request.write(EmbedObject.macro_EmbedObject(macro, filename, pagename=pagename))
     return