From 00275fbfafebe3cdeca3ff87ef0c637ea5119c6a Mon Sep 17 00:00:00 2001 From: Stefan Liebl Date: Sat, 21 Dec 2024 21:09:50 +0100 Subject: [PATCH] fix whitespace --- python2dspiel.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python2dspiel.py b/python2dspiel.py index a5b8bd5..40475e0 100644 --- a/python2dspiel.py +++ b/python2dspiel.py @@ -17,11 +17,11 @@ def creer_ananas(pos_x, pos_y): ananas = pygame.sprite.Sprite() pygame.sprite.Sprite.__init__(ananas) ananas.image = pygame.image.load("ananas.png").convert_alpha() - ananas.image = pygame.transform.scale(ananas.image,[200, 100]) + ananas.image = pygame.transform.scale(ananas.image,[200, 100]) ananas.rect = ananas.image.get_rect() ananas.rect.x = pos_x ananas.rect.y = pos_y - + return ananas pygame.init()