From b68dda729b523dcadf7803c498ce19607bd5241e Mon Sep 17 00:00:00 2001 From: Christophe Simonis Date: Tue, 26 Oct 2010 15:44:49 +0200 Subject: [FIX] document_ftp: fix server shutdown bzr revid: chs@openerp.com-20101026134449-mfan2d5pfj9m0pqx --- addons/document_ftp/ftpserver/__init__.py | 1 + 1 file changed, 1 insertion(+) (limited to 'addons/document_ftp/ftpserver/__init__.py') diff --git a/addons/document_ftp/ftpserver/__init__.py b/addons/document_ftp/ftpserver/__init__.py index eef04d3eb93..d110267f175 100644 --- a/addons/document_ftp/ftpserver/__init__.py +++ b/addons/document_ftp/ftpserver/__init__.py @@ -59,6 +59,7 @@ if HOST.lower() == 'none': else: netsvc.Logger().notifyChannel("FTP", netsvc.LOG_INFO, "\n Serving FTP on %s:%s\n" % (HOST, PORT)) ds = ftp_server() + ds.daemon = True ds.start() # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: -- cgit v1.2.3