mirror of
https://github.com/mikf/gallery-dl.git
synced 2024-11-21 18:22:30 +01:00
fix config.set calls in build_testresults_db.py
This commit is contained in:
parent
c0a1241648
commit
173a93454e
@ -43,10 +43,11 @@ for idx, extr, url, result in tests:
|
|||||||
|
|
||||||
if "options" in result:
|
if "options" in result:
|
||||||
for key, value in result["options"]:
|
for key, value in result["options"]:
|
||||||
config.set(key.split("."), value)
|
key = key.split(".")
|
||||||
|
config.set(key[:-1], key[-1], value)
|
||||||
if "range" in result:
|
if "range" in result:
|
||||||
config.set(("image-range",), result["range"])
|
config.set((), "image-range" , result["range"])
|
||||||
config.set(("chapter-range",), result["range"])
|
config.set((), "chapter-range", result["range"])
|
||||||
|
|
||||||
# write test data
|
# write test data
|
||||||
try:
|
try:
|
||||||
|
Loading…
Reference in New Issue
Block a user