1
0
mirror of https://github.com/pirate/ArchiveBox.git synced 2025-09-02 19:02:37 +02:00

fix splitting on multiple equals in val

This commit is contained in:
Nick Sweeting
2020-11-22 12:33:15 -05:00
committed by GitHub
parent afe9319c25
commit b11d562445

View File

@@ -865,7 +865,7 @@ def config(config_options_str: Optional[str]=None,
stderr(f' {line}')
raise SystemExit(2)
raw_key, val = line.split('=')
raw_key, val = line.split('=', 1)
raw_key = raw_key.upper().strip()
key = get_real_name(raw_key)
if key != raw_key: