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:
parent
42af39d105
commit
ee9bab992d
@ -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>',
|
||||
|
Loading…
Reference in New Issue
Block a user