minor cleaning

This commit is contained in:
cabiste 2022-05-20 23:14:58 +01:00 committed by GitHub
parent 7eff745550
commit 08d686c652
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,10 +17,6 @@ def getTotalImgSize(imageArray): # take the image with the most pixels, multiply
return (maxImage.size[0], maxImage.size[1]) return (maxImage.size[0], maxImage.size[1])
elif (len(imageArray) == 2): elif (len(imageArray) == 2):
return (maxImage.size[0] * 2, maxImage.size[1]) return (maxImage.size[0] * 2, maxImage.size[1])
elif (len(imageArray) == 3):
return (maxImage.size[0] * 2, maxImage.size[1]*2)
elif (len(imageArray) == 4):
return (maxImage.size[0] * 2, maxImage.size[1]*2)
else: else:
return (maxImage.size[0] * 2, maxImage.size[1]*2) return (maxImage.size[0] * 2, maxImage.size[1]*2)