mirror of https://gitlab.com/bashrc2/epicyon
Use empty string rather than none
parent
5f0e3c3d83
commit
a71c548a7f
|
@ -859,14 +859,17 @@ configOnionDomain = getConfigParam(baseDir, 'onion')
|
||||||
if configOnionDomain:
|
if configOnionDomain:
|
||||||
onionDomain = configOnionDomain
|
onionDomain = configOnionDomain
|
||||||
else:
|
else:
|
||||||
onionDomain = None
|
# Note: this should not be None
|
||||||
|
onionDomain = ''
|
||||||
|
|
||||||
# get i2p domain name from configuration
|
# get i2p domain name from configuration
|
||||||
configi2pDomain = getConfigParam(baseDir, 'i2pDomain')
|
configi2pDomain = getConfigParam(baseDir, 'i2pDomain')
|
||||||
if configi2pDomain:
|
if configi2pDomain:
|
||||||
i2pDomain = configi2pDomain
|
i2pDomain = configi2pDomain
|
||||||
else:
|
else:
|
||||||
|
# Note: this should not be None
|
||||||
i2pDomain = None
|
i2pDomain = None
|
||||||
|
onionDomain = ''
|
||||||
|
|
||||||
# get port number from configuration
|
# get port number from configuration
|
||||||
configPort = getConfigParam(baseDir, 'port')
|
configPort = getConfigParam(baseDir, 'port')
|
||||||
|
|
Loading…
Reference in New Issue