]> git.ipfire.org Git - thirdparty/tornado.git/commitdiff
using os specific path seperator
authorunknown <mgenti@.(none)>
Wed, 3 Feb 2010 20:17:28 +0000 (14:17 -0600)
committerunknown <mgenti@.(none)>
Wed, 3 Feb 2010 20:17:28 +0000 (14:17 -0600)
tornado/web.py

index abe912669a50f72d7be603bd2650735059f1d44c..39de7ff66f2142a97e3af2f5eea29f4f10526e7a 100644 (file)
@@ -1073,7 +1073,7 @@ class StaticFileHandler(RequestHandler):
     """
     def __init__(self, application, request, path):
         RequestHandler.__init__(self, application, request)
-        self.root = os.path.abspath(path) + "/"
+        self.root = os.path.abspath(path) + os.path.sep
 
     def head(self, path):
         self.get(path, include_body=False)