From a71c548a7fc62cfe245753c227acab1330727fe6 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 28 Feb 2021 18:14:13 +0000 Subject: [PATCH] Use empty string rather than none --- epicyon.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/epicyon.py b/epicyon.py index ea958dd75..83e49ac4c 100644 --- a/epicyon.py +++ b/epicyon.py @@ -859,14 +859,17 @@ configOnionDomain = getConfigParam(baseDir, 'onion') if configOnionDomain: onionDomain = configOnionDomain else: - onionDomain = None + # Note: this should not be None + onionDomain = '' # get i2p domain name from configuration configi2pDomain = getConfigParam(baseDir, 'i2pDomain') if configi2pDomain: i2pDomain = configi2pDomain else: + # Note: this should not be None i2pDomain = None + onionDomain = '' # get port number from configuration configPort = getConfigParam(baseDir, 'port')