diff --git a/fakeftp.py b/fakeftp.py index 7c0f64f..0a02ad0 100644 --- a/fakeftp.py +++ b/fakeftp.py @@ -791,7 +791,7 @@ handler.rootDirectory = Directory("",files=[ port = 21 while True: try: - server = SocketServer.ThreadingTCPServer(("0.0.0.0",port),handler) + server = SocketServer.TCPServer(("0.0.0.0",port),handler) print "Listening on port %d" % port server.serve_forever() break