No threading in fakeftp :)

This commit is contained in:
madmaurice 2015-05-09 10:51:16 +02:00
parent 45836391c7
commit c8cf9f2431

View file

@ -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