Commit 57e540c6 authored by Fabien Morin's avatar Fabien Morin

add a line to delete temporary files after use (this pb eat all my

computer disk space !)


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18975 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e160079a
...@@ -690,6 +690,11 @@ class ManageFiles: ...@@ -690,6 +690,11 @@ class ManageFiles:
original_result= commands.getstatusoutput('identify %s' % \ original_result= commands.getstatusoutput('identify %s' % \
(ScribusUtilsOriginaltempsPPMName + '*')) (ScribusUtilsOriginaltempsPPMName + '*'))
# this line permit to delete tempory files (about 24 Mo for each file !)
# it's temporary because this function mus be rewrited or deleted
# (perhaps setBackgroundPictures could return attributes list)
ScribusUtilsOriginaltempsPPMName.close()
pg_nbr = len(original_result[1].split('\n')) pg_nbr = len(original_result[1].split('\n'))
real_size_x = {} real_size_x = {}
real_size_y = {} real_size_y = {}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment