X-Git-Url: https://git.novaco.in/?p=electrum-nvc.git;a=blobdiff_plain;f=lib%2Fsimple_config.py;h=b70e5c96e85ecd2c47e5e32a92f91970265be97f;hp=b4455bb0c0cfe7ecd2720afb1d4a83902cb33d02;hb=221fa5848f0348bd02586c86a50feb9916c7cea2;hpb=5eeae69425b8b12381309c88c20f3508d628557f diff --git a/lib/simple_config.py b/lib/simple_config.py index b4455bb..b70e5c9 100644 --- a/lib/simple_config.py +++ b/lib/simple_config.py @@ -137,6 +137,7 @@ class SimpleConfig(object): def read_system_config(): """Parse and return the system config settings in /etc/electrum.conf.""" + result = {} if os.path.exists(SYSTEM_CONFIG_PATH): try: import ConfigParser @@ -152,7 +153,7 @@ def read_system_config(): result[k] = v except ConfigParser.NoSectionError: pass - return result + return result def read_user_config(path): """Parse and store the user config settings in electrum.conf into user_config[]."""