From: Moritz Warning Date: Sun, 13 Sep 2020 12:20:29 +0000 (+0200) Subject: misc/collect.py: do not upper case the release name X-Git-Tag: v3.0.0~8 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ab4cf9f6d42b3d59976042288b1e64c228becde7;p=web%2Ffirmware-selector-openwrt-org.git misc/collect.py: do not upper case the release name --- diff --git a/misc/collect.py b/misc/collect.py index 26b9876..5425504 100755 --- a/misc/collect.py +++ b/misc/collect.py @@ -147,7 +147,7 @@ def scrape(args): else: json.dump(output, outfile, sort_keys=True) - versions[release.upper()] = "data/{}/overview.json".format(release) + versions[release] = "data/{}/overview.json".format(release) update_config(config_path, versions) @@ -192,7 +192,7 @@ def scrape_wget(args): if len(profiles) == 0: continue - versions[release.upper()] = "data/{}/overview.json".format(release) + versions[release] = "data/{}/overview.json".format(release) output = merge_profiles( profiles, "https://{}/targets/{{target}}".format(base) @@ -269,7 +269,7 @@ def scan(args): if len(profiles) == 0: continue - versions[release.upper()] = "data/{}/overview.json".format(release) + versions[release] = "data/{}/overview.json".format(release) output = merge_profiles( profiles, "https://{}/{}/targets/{{target}}".format(args.domain, base_dir)