[FIX] document: set default address to '' instead of 'localhost'
authorolt <olt@tinyerp.com>
Tue, 11 Aug 2009 12:40:04 +0000 (08:40 -0400)
committerolt <olt@tinyerp.com>
Tue, 11 Aug 2009 12:40:04 +0000 (08:40 -0400)
bzr revid: olt@tinyerp.com-20090811124004-70qdwfbnh1g8iby7

addons/document/ftpserver/__init__.py

index e31b1f5..7a68a7e 100644 (file)
@@ -70,7 +70,7 @@ class ftp_server(threading.Thread):
         try:
             ip_addr = _detect_ip_addr()
         except:
-            ip_addr = 'localhost'
+            ip_addr = ''
         return ip_addr