mirror of
https://github.com/kovidgoyal/calibre.git
synced 2026-05-23 15:22:34 -04:00
http_server import (manual)
This commit is contained in:
+1
-1
@@ -242,7 +242,7 @@ class Manual(Command):
|
||||
|
||||
def serve_manual(self, root):
|
||||
os.chdir(root)
|
||||
from polyglot.http_server import HTTPServer, SimpleHTTPRequestHandler
|
||||
from http.server import HTTPServer, SimpleHTTPRequestHandler
|
||||
HandlerClass = SimpleHTTPRequestHandler
|
||||
ServerClass = HTTPServer
|
||||
Protocol = 'HTTP/1.0'
|
||||
|
||||
Reference in New Issue
Block a user