aboutsummaryrefslogtreecommitdiff
path: root/plugins/manganelo.py
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/manganelo.py')
-rwxr-xr-xplugins/manganelo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/manganelo.py b/plugins/manganelo.py
index 3cb3118..3ce51b8 100755
--- a/plugins/manganelo.py
+++ b/plugins/manganelo.py
@@ -33,7 +33,7 @@ if len(sys.argv) < 2:
def download_file(url, save_path):
file_size = 0
with requests.get(url, stream=True) as response:
- if not response.ok():
+ if not response.ok:
return 0
with open(save_path, "wb") as file:
for chunk in response.iter_content(chunk_size=8192):