From ee9bab992d2cab94b5c1d1bc798fc50efa4c99b6 Mon Sep 17 00:00:00 2001 From: Victor Date: Thu, 15 Apr 2021 00:39:01 +0300 Subject: [PATCH] Fix int argument in subprocess call --- metadata.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metadata.py b/metadata.py index cbbac06..c668f69 100644 --- a/metadata.py +++ b/metadata.py @@ -48,7 +48,7 @@ class Metadata: def __download(self, img_url: str, recompress: bool = False): opt_args = [] if recompress: - opt_args = ['-quality', 80] + opt_args = ['-quality', "80"] ret = subprocess.call([ 'magick', img_url, '-resize', '2500x2500>',