From df040a0e948accbfdcd0659d12f79df4abf9745c Mon Sep 17 00:00:00 2001 From: DenysPashkov <30626869+DenysPashkov@users.noreply.github.com> Date: Sun, 22 Sep 2024 17:12:25 +0200 Subject: [PATCH] Update __init__.py (#170) Now it treat ONA ( OAV ) as series, in this way it is possible to download more then one episode --- Src/Api/animeunity/__init__.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Src/Api/animeunity/__init__.py b/Src/Api/animeunity/__init__.py index 8a54f70..d30fa30 100644 --- a/Src/Api/animeunity/__init__.py +++ b/Src/Api/animeunity/__init__.py @@ -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}")