From: <bms...@us...> - 2007-11-07 23:26:30
|
Revision: 2588 http://morphix.svn.sourceforge.net/morphix/?rev=2588&view=rev Author: bmsleight Date: 2007-11-07 15:26:27 -0800 (Wed, 07 Nov 2007) Log Message: ----------- Not sure why incoming does not work Modified Paths: -------------- trunk/morphixlivekiosk/scripts/mbuild/web/views.py Modified: trunk/morphixlivekiosk/scripts/mbuild/web/views.py =================================================================== --- trunk/morphixlivekiosk/scripts/mbuild/web/views.py 2007-11-07 23:19:24 UTC (rev 2587) +++ trunk/morphixlivekiosk/scripts/mbuild/web/views.py 2007-11-07 23:26:27 UTC (rev 2588) @@ -32,7 +32,7 @@ #save the image file if cd.get('graphics'): - f = file('incoming/%s' % cd['graphics'].filename, 'wb') + f = file('/var/www/images/%s' % cd['graphics'].filename, 'wb') f.write(cd['graphics'].content) f.close() cd['graphics'] = cd['graphics'].filename @@ -43,7 +43,7 @@ sub.text = str(cd[v]) tree = ET.ElementTree(root) - tree.write("incoming/%s.xml" % uniq) + tree.write("/var/www/templates/%s.xml" % uniq) return HttpResponseRedirect("/template/%s.xml/" % uniq ) else: form = BuildForm() This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |