Browse Source

System config should never be None

283
Chris Glass 11 years ago
parent
commit
221fa5848f
  1. 1
      lib/simple_config.py

1
lib/simple_config.py

@ -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…
Cancel
Save