1
0
mirror of https://gist.github.com/6ba37e4d4084e858f917e271550ce5f6.git synced 2024-09-20 00:34:20 +03:00

Fix int argument in subprocess call

This commit is contained in:
Victor 2021-04-15 00:39:01 +03:00
parent 42af39d105
commit ee9bab992d

View File

@ -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>',