SF.net SVN: morphix: [2588] trunk/morphixlivekiosk/scripts/mbuild/web/views .py
[email protected] Wed, 07 Nov 2007 15:26:28 -0800
| Newsgroups | gmane.linux.morphix.cvs |
|---|---|
| Message-ID | <[email protected]> |
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.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/