Cool. Shouldn't: filename = os.path.join(base, '/'.join(current.request.args))
be: filename = os.path.join(base, os.path.sep.join(current.request.args)) or maybe just: filename = os.path.join(base, *current.request.args) Anthony On Tuesday, February 21, 2012 2:57:43 PM UTC-5, Massimo Di Pierro wrote: > > not sure if it should stay and for sure it can be improved. I use it a > lot. > > def index(): > import os > from gluon.tools import Expose > return dict(expose=Expose(os.path.join(request.folder,'static'))) >

