diff MoinMoin/action/AttachFile.py @ 1793:2a4caa295346

Eclipse PyDev Check: fixed lots of its errors and warnings
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Fri, 23 Feb 2007 13:06:42 +0100
parents 6dd2e29acffe
children 57f12932915f
line wrap: on
line diff
--- a/MoinMoin/action/AttachFile.py	Fri Feb 23 09:38:23 2007 +0100
+++ b/MoinMoin/action/AttachFile.py	Fri Feb 23 13:06:42 2007 +0100
@@ -673,7 +673,7 @@
         _addLogEntry(request, 'ATTDRW', pagename, basename + ext)
         filecontent = filecontent.replace("\r", "")
 
-    savepath = os.path.join(getAttachDir(request, pagename), basename + ext)
+    savepath = os.path.join(attach_dir, basename + ext)
     if ext == '.map' and not filecontent.strip():
         # delete map file if it is empty
         os.unlink(savepath)