# HG changeset patch # User paulb # Date 1118760692 0 # Node ID 2d4931a059c8e849fa5c7123df9feff27e045127 # Parent 706bcb00d86d1c0965551ea735e57e7394424f70 [project @ 2005-06-14 14:51:32 by paulb] Obtained the resource directory from the configurator resource class. diff -r 706bcb00d86d -r 2d4931a059c8 examples/BaseHTTPRequestHandler/ConfiguratorApp.py --- a/examples/BaseHTTPRequestHandler/ConfiguratorApp.py Tue May 17 20:23:43 2005 +0000 +++ b/examples/BaseHTTPRequestHandler/ConfiguratorApp.py Tue Jun 14 14:51:32 2005 +0000 @@ -8,8 +8,8 @@ # Get the directory of the application. -directory = os.path.split(Configurator.__file__)[0] configurator_resource = Configurator.ConfiguratorResource() +directory = configurator_resource.resource_dir # Make a simple Web site.