diff data/plugin/action/submitcsv.py @ 625:f4e63b74b969

FormSubmit: adapt to werkzeug MultiDict
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Mon, 25 Mar 2013 17:47:30 +0100
parents bdebdc59b057
children f64779d5d500
line wrap: on
line diff
--- a/data/plugin/action/submitcsv.py	Mon Mar 25 17:28:25 2013 +0100
+++ b/data/plugin/action/submitcsv.py	Mon Mar 25 17:47:30 2013 +0100
@@ -35,7 +35,7 @@
         self.targetFile = ""
         
         if "targetfile" in request.form:
-            self.targetFile = request.form.get("targetfile")[0]
+            self.targetFile = request.form.get("targetfile")
         else:
             self.targetFile = u"list.csv"