Skip to content

Commit

Permalink
🐛 Fix dealing with _v... appended to zipfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
hayesall committed Aug 6, 2021
1 parent b48fc0c commit 7944481
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/build_docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def build_dataset_descriptions():
latest = json.loads(url.read().decode("utf-8"))

for asset in latest["assets"]:
name = asset["name"].split(".zip")[0]
name = asset["name"].split("_v")[0]

req = Request(
f"https://raw.githubusercontent.com/srlearn/datasets/main/srlearn/{name}/README.md",
Expand Down

0 comments on commit 7944481

Please sign in to comment.