# HG changeset patch # User paulb # Date 1141498314 0 # Node ID 5dee872a895b745bdf3fea96c671226026297a90 # Parent 0368b3bf6855dd320947c10a78c7f48519e51f15 [project @ 2006-03-04 18:51:54 by paulb] Made use of the current working directory so that installed versions of the demo still work. diff -r 0368b3bf6855 -r 5dee872a895b examples/BaseHTTPRequestHandler/CandidateApp.py --- a/examples/BaseHTTPRequestHandler/CandidateApp.py Sat Mar 04 18:51:00 2006 +0000 +++ b/examples/BaseHTTPRequestHandler/CandidateApp.py Sat Mar 04 18:51:54 2006 +0000 @@ -5,8 +5,10 @@ # Get a simple Web site. # NOTE: Change the filesystem encoding if appropriate. +# Use the current working directory so that the installed package can still run +# the demo. -resource = Candidate.get_site("iso-8859-15") +resource = Candidate.get_site("iso-8859-15", use_cwd=1) # Special magic incantation.