diff options
Diffstat (limited to 'plugins/mangawindow.py')
-rwxr-xr-x | plugins/mangawindow.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mangawindow.py b/plugins/mangawindow.py index 49fca0a..b5f5bf8 100755 --- a/plugins/mangawindow.py +++ b/plugins/mangawindow.py @@ -33,7 +33,7 @@ if len(sys.argv) < 2: def download_file(url, save_path): with requests.get(url, stream=True) as response: - if not response.ok(): + if not response.ok: return False with open(save_path, "wb") as file: for chunk in response.iter_content(chunk_size=8192): |