projets
/
progfou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e4fdfe5
)
wcs-dynexport: on renomme aussi le fichier joint indiqué dans le dossier
author
Progfou
<jean-christophe.andre@auf.org>
Wed, 17 Jul 2013 18:57:27 +0000
(14:57 -0400)
committer
Progfou
<jean-christophe.andre@auf.org>
Wed, 17 Jul 2013 18:57:27 +0000
(14:57 -0400)
wcs/wcs-dynexport
patch
|
blob
|
blame
|
history
diff --git
a/wcs/wcs-dynexport
b/wcs/wcs-dynexport
index
b21e6ea
..
d0ab45b
100755
(executable)
--- a/
wcs/wcs-dynexport
+++ b/
wcs/wcs-dynexport
@@
-308,6
+308,8
@@
def get_wcs_form_data(domain, form):
dst = filename + '_' + result[f]
src = os.path.join(pub.app_dir, 'uploads', qfiles[f])
liste_attachements.update({dst: src})
+ # on renomme le fichier joint indiqué dans le dossier
+ result[f] = dst
# génération du fichier JSON
data = json.dumps(result, ensure_ascii=False).encode('utf-8')