##// END OF EJS Templates
FIXED, don't try to create an empty directory
Jonathan Frederic -
Show More
@@ -41,6 +41,7 b' class ServePostProcessor(PostProcessorBase):'
41
41
42 try:
42 try:
43 dirname, filename = os.path.split(input)
43 dirname, filename = os.path.split(input)
44 if dirname:
44 os.chdir(dirname)
45 os.chdir(dirname)
45 httpd = HTTPServer(('127.0.0.1', 8000), SimpleHTTPRequestHandler)
46 httpd = HTTPServer(('127.0.0.1', 8000), SimpleHTTPRequestHandler)
46 sa = httpd.socket.getsockname()
47 sa = httpd.socket.getsockname()
General Comments 0
You need to be logged in to leave comments. Login now