From 2f751d3dabe9a287f31aa1e2881eb683d3ad75a0 Mon Sep 17 00:00:00 2001 From: YOKOTA Hiroshi Date: Tue, 21 Nov 2023 20:30:40 +0900 Subject: [PATCH] Use None for empty value --- src/calibre/srv/opts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/srv/opts.py b/src/calibre/srv/opts.py index a6a8f1470d..f6e3fd7e27 100644 --- a/src/calibre/srv/opts.py +++ b/src/calibre/srv/opts.py @@ -110,7 +110,7 @@ raw_options = ( ' there are more than this number of items. Set to zero to disable.'), _('The interface on which to listen for connections'), - 'listen_on', '', + 'listen_on', None, _('The default is to listen on all available IPv6 and IPv4 interfaces. You can change this to, for' ' example, "127.0.0.1" to only listen for connections from the local machine, or' ' to "::" to listen to all incoming IPv6 and IPv4 connections.'),