Author: dmeyer
Date: Sat Feb 25 10:29:29 2006
New Revision: 7937
Modified:
trunk/WIP/webserver/src/view/__init__.py
Log:
connect to the right vfs
Modified: trunk/WIP/webserver/src/view/__init__.py
==============================================================================
--- trunk/WIP/webserver/src/view/__init__.py (original)
+++ trunk/WIP/webserver/src/view/__init__.py Sat Feb 25 10:29:29 2006
@@ -41,14 +41,11 @@
return '/pics' + item.filename[len(self.config.static['/pics']):]
- @kaa.cherrypy.expose(template=view)
+ @kaa.cherrypy.expose()
def index(self):
- dirname = self.config.static['/pics']
- print dirname
- listing = kaa.vfs.get(dirname).listdir()
-
- return dict(listing=listing, image=self.get_image,
- url=self.get_url, header=header('/view'))
+ x = self.default()
+ print x
+ return x
@kaa.cherrypy.expose(template=view)
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog