System config should never be None
This commit is contained in:
parent
5eeae69425
commit
221fa5848f
|
@ -137,6 +137,7 @@ class SimpleConfig(object):
|
||||||
|
|
||||||
def read_system_config():
|
def read_system_config():
|
||||||
"""Parse and return the system config settings in /etc/electrum.conf."""
|
"""Parse and return the system config settings in /etc/electrum.conf."""
|
||||||
|
result = {}
|
||||||
if os.path.exists(SYSTEM_CONFIG_PATH):
|
if os.path.exists(SYSTEM_CONFIG_PATH):
|
||||||
try:
|
try:
|
||||||
import ConfigParser
|
import ConfigParser
|
||||||
|
|
Loading…
Reference in New Issue