diff --git a/.idea/workspace.xml b/.idea/workspace.xml index ee69ff0..ed23523 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -29,7 +29,7 @@ - + @@ -42,7 +42,7 @@ - + @@ -483,7 +483,7 @@ - + @@ -494,7 +494,7 @@ - + diff --git a/lib/graphiclib.py b/lib/graphiclib.py index b129672..d323b73 100644 --- a/lib/graphiclib.py +++ b/lib/graphiclib.py @@ -55,6 +55,7 @@ class List(pygame.sprite.Sprite): def update(self, *args): if self.updated: height = 0 + self.image.fill((0, 0, 0)) for key in self.dict.keys(): line = '{}: {}'.format(key, self.dict[key]) @@ -83,4 +84,4 @@ class PiCamera(pygame.sprite.Sprite): print('updating camera') with picamera.array.PiRGBArray(self.camera, size=self.size) as output: self.camera.capture(output, 'rgb', resize=self.size) - print(output) \ No newline at end of file + print('Captured %dx%d image' % (output.array.shape[1], output.array.shape[0])) \ No newline at end of file