Import ThreadingMixIn for python3

This commit is contained in:
Alexander Kukushkin
2015-06-03 16:39:29 +02:00
parent aa1fc315ae
commit fad2fbeae0
+1
View File
@@ -7,6 +7,7 @@ from threading import Thread
if sys.hexversion >= 0x03000000:
from http.server import BaseHTTPRequestHandler, HTTPServer
from socketserver import ThreadingMixIn
else:
from BaseHTTPServer import BaseHTTPRequestHandler, HTTPServer
from SocketServer import ThreadingMixIn