mirror of
https://github.com/nathom/streamrip.git
synced 2025-05-21 10:45:28 -04:00
Only use click for secho, echo, style
This commit is contained in:
parent
9970ac548f
commit
286ff502b5
8 changed files with 129 additions and 129 deletions
|
@ -44,14 +44,14 @@ def download_albums():
|
|||
procs.append(subprocess.run([*rip_url, url]))
|
||||
|
||||
for p in procs:
|
||||
click.echo(p)
|
||||
echo(p)
|
||||
|
||||
|
||||
def check_album_dl_success(folder, correct):
|
||||
if set(os.listdir(folder)) != set(correct):
|
||||
click.secho(f"Check for {folder} failed!", fg="red")
|
||||
secho(f"Check for {folder} failed!", fg="red")
|
||||
else:
|
||||
click.secho(f"Check for {folder} succeeded!", fg="green")
|
||||
secho(f"Check for {folder} succeeded!", fg="green")
|
||||
|
||||
|
||||
def main():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue