diff --git a/servefile b/servefile index e8d91f0..9a2733d 100755 --- a/servefile +++ b/servefile @@ -16,7 +16,6 @@ import datetime import mimetypes import urllib import os -import posixpath import re import select import socket @@ -402,7 +401,7 @@ class DirListingHandler(FileBaseHandler):
- """ % {'path': posixpath.normpath(urllib.unquote(self.path))} + """ % {'path': os.path.normpath(urllib.unquote(self.path))} footer = """