Skip to content

Commit

Permalink
Fix DQM json parsing from web
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrianoDee committed Oct 30, 2024
1 parent 7b9ca38 commit ee3b27c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def no_intersection():
if web_fallback:
cert_url = base_cert_url + cert_type + "/"
json_list = get_url_clean(cert_url).split("\n")
json_list = [c for c in json_list if "Golden" in c and "era" not in c]
json_list = [c for c in json_list if "Golden" in c and "era" not in c and "Cert_C" in c]
json_list = [[cc for cc in c.split(" ") if cc.startswith("Cert_C") and cc.endswith("json")][0] for c in json_list]

# the larger the better, assuming file naming schema
Expand Down

0 comments on commit ee3b27c

Please sign in to comment.