From c8cf9f2431b2de26fef5b00fd8946dae7147b4eb Mon Sep 17 00:00:00 2001 From: Valentin Gehrke Date: Sat, 9 May 2015 10:51:16 +0200 Subject: [PATCH] No threading in fakeftp :) --- fakeftp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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