Skip to content

Commit

Permalink
Fixed utils.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ShonP40 committed May 21, 2024
1 parent fdff820 commit 9b51e78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mappings/scripts/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ def validate_discord_logo(path, server_name) -> list:
f'{server_name}\'s server Discord logo does not have a 1:1 aspect ratio... Please ensure the image meets the requirements before proceeding.')

# Check image dimensions are 512x512 or more (up to 1024x1024)
if not (512 <= logo_image.width <= 1024) or not (512 <= logo_image.height <= 1024)
if not (512 <= logo_image.width <= 1024) or not (512 <= logo_image.height <= 1024):
errors.append(
f'{server_name}\'s server Discord logo resolution is not 512x512 or more (up to 1024x1024)... Please ensure the image meets the requirements before proceeding.')

Expand Down

0 comments on commit 9b51e78

Please sign in to comment.