diff options
| author | Christophe Simonis <chs@openerp.com> | 2010-10-26 15:44:49 +0200 |
|---|---|---|
| committer | Christophe Simonis <chs@openerp.com> | 2010-10-26 15:44:49 +0200 |
| commit | b68dda729b523dcadf7803c498ce19607bd5241e (patch) | |
| tree | 916a7b87cde3ef19af00a30fc84e3b1b1359ef3c /addons/document_ftp/ftpserver/__init__.py | |
| parent | 26edcb80e4bbba0fb87deea6551d77e291121206 (diff) | |
[FIX] document_ftp: fix server shutdown
bzr revid: chs@openerp.com-20101026134449-mfan2d5pfj9m0pqx
Diffstat (limited to 'addons/document_ftp/ftpserver/__init__.py')
| -rw-r--r-- | addons/document_ftp/ftpserver/__init__.py | 1 |
1 files changed, 1 insertions, 0 deletions
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: |
