I'd also make the suggestion of having the upload directory determined by a config variable. It's really easy:
cherrypy.config.get("wiki.uploads")
You can default it to the current working directory + "upload" for convenience.
uploaddir = cherrypy.config.get("wiki.uploads",
os.path.join(os.getcwd(), "upload"))
It may also be nice to do this:
if not os.path.exists(uploaddir):
os.makedirs(uploaddir)
Kevin

