mirror of
https://github.com/pirate/ArchiveBox.git
synced 2025-09-03 03:13:12 +02:00
fix splitting on multiple equals in val
This commit is contained in:
@@ -865,7 +865,7 @@ def config(config_options_str: Optional[str]=None,
|
|||||||
stderr(f' {line}')
|
stderr(f' {line}')
|
||||||
raise SystemExit(2)
|
raise SystemExit(2)
|
||||||
|
|
||||||
raw_key, val = line.split('=')
|
raw_key, val = line.split('=', 1)
|
||||||
raw_key = raw_key.upper().strip()
|
raw_key = raw_key.upper().strip()
|
||||||
key = get_real_name(raw_key)
|
key = get_real_name(raw_key)
|
||||||
if key != raw_key:
|
if key != raw_key:
|
||||||
|
Reference in New Issue
Block a user