diff --git a/usr/lib/python3.8/spoc/config.py b/usr/lib/python3.8/spoc/config.py index 9d0d0ab..81fd9e2 100644 --- a/usr/lib/python3.8/spoc/config.py +++ b/usr/lib/python3.8/spoc/config.py @@ -4,8 +4,10 @@ import configparser import os import urllib.parse +CONFIG_FILE = '/etc/spoc/spoc.conf' + config = configparser.ConfigParser() -config.read('/etc/spoc/spoc.conf') +config.read(CONFIG_FILE) NETWORK_INTERFACE = config.get('general', 'network-interface', fallback='spocbr0')