Update services/sabnzbd.nix

This commit is contained in:
rope 2026-05-04 02:35:58 -07:00
parent 58440af384
commit 30d9d836e4

View file

@ -17,7 +17,7 @@ c = configparser.RawConfigParser()
c.read(config_file)
if not c.has_section('misc'):
c.add_section('misc')
wl = c.get('misc', 'host_whitelist', fallback='')
wl = c.get('misc', 'host_whitelist', fallback="")
entries = [h.strip() for h in wl.split(',') if h.strip()]
if hostname not in entries:
entries.append(hostname)