devtools/livetest.py
changeset 5907 5eba1248e12b
parent 5424 8ecbcbff9777
child 7056 51f88f13d6f3
--- a/devtools/livetest.py	Tue Jul 06 11:45:11 2010 +0200
+++ b/devtools/livetest.py	Tue Jul 06 17:11:41 2010 +0200
@@ -55,7 +55,7 @@
         """Indicate which resource to use to process down the URL's path"""
         if len(segments) and segments[0] == 'data':
             # Anything in data/ is treated as static files
-            datadir = self.config.locate_resource(segments[1])
+            datadir = self.config.locate_resource(segments[1])[0]
             if datadir:
                 return static.File(str(datadir), segments[1:])
         # Otherwise we use this single resource