diff options
author | dec05eba <dec05eba@protonmail.com> | 2021-07-09 03:30:35 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2021-07-09 03:30:35 +0200 |
commit | 38ee006289835a975a8855c90eb89f2baf103fe0 (patch) | |
tree | 4785836de05a8f11a19f5e9331cd60b00f441473 /open_media.py | |
parent | 0faa50fbad30968b0bc8ab302cad9cc9d0b8dd68 (diff) |
Speedup open_media.py
Diffstat (limited to 'open_media.py')
-rwxr-xr-x | open_media.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/open_media.py b/open_media.py index f894a61..d9d5ba3 100755 --- a/open_media.py +++ b/open_media.py @@ -40,7 +40,7 @@ def get_manga_chapters_in_dir(manga_dir): files = [] for filename in os.listdir(manga_dir): full_path = os.path.join(manga_dir, filename) - if os.path.isdir(full_path) and not os.path.exists(os.path.join(full_path, ".in_progress")) and os.path.exists(os.path.join(full_path, ".finished")): + if os.path.isdir(full_path) and not os.path.exists(os.path.join(full_path, ".in_progress")): files.append(full_path) return files |