Skip to content

Commit

Permalink
fix logs
Browse files Browse the repository at this point in the history
  • Loading branch information
marwaneltoukhy committed Dec 5, 2023
1 parent 40343cb commit 865fdb6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/get_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,10 @@ def download_tools(openlane_root, precheck_root, pdk_root, caravel_root, mcw_roo
data = parse_json_file(url)
f = open("setup.log", "a")
with Progress(TextColumn("[progress.description]{task.description}"), BarColumn(), MofNCompleteColumn(), TimeElapsedColumn()) as progress:
task = progress.add_task("[cyan]Downloading Tools...", total=6)
if tool:
task = progress.add_task("[cyan]Downloading Tools...", total=1)
else:
task = progress.add_task("[cyan]Downloading Tools...", total=6)
for key, value in data.items():
if tool and key != tool:
continue
Expand Down

0 comments on commit 865fdb6

Please sign in to comment.