Update __init__.py

Now it treat ONA ( OAV ) as series, in this way it is possible to download more then one episode
This commit is contained in:
DenysPashkov 2024-09-22 13:13:46 +02:00 committed by GitHub
parent 590533a141
commit 74d697a166
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -24,12 +24,10 @@ def search():
# Select title from list
select_title = run_get_select_title()
if select_title.type == 'TV':
download_series(select_title)
else:
if select_title.type == 'Movie':
download_film(select_title)
else:
download_series(select_title)
else:
console.print(f"\n[red]Nothing matching was found for[white]: [purple]{string_to_search}")