mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-23 17:47:31 +00:00
System config should never be None
This commit is contained in:
parent
5eeae69425
commit
221fa5848f
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue