From e2c5aee5ccf64495051cb674f6f51a0ed63520bf Mon Sep 17 00:00:00 2001 From: Jan Klopper Date: Thu, 28 Apr 2016 22:39:43 +0200 Subject: [PATCH] tinyfix --- vloed.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vloed.py b/vloed.py index 6a2fa1b..1823a38 100755 --- a/vloed.py +++ b/vloed.py @@ -71,7 +71,7 @@ class Canvas(object): def Pixel(self, x, y, r, g, b, a=255): # pylint: disable=C0103 """Print a pixel to the screen""" try: - if a != 255: + if a == 255: self.pixels[x][y] = (r*256*256) + (g*256) + b else: old = self.pixels[x][y]