summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorViljami Ilola <+@hix.fi>2024-04-08 18:53:52 +0300
committerViljami Ilola <+@hix.fi>2024-04-08 18:53:52 +0300
commit97864c921e319398db609705abf1fa916e008887 (patch)
tree86b68e6dedf72de3aee4d4d287f351497ba0b0cd
parenta30b2e7a43efda6088683fa84c0572c61337e642 (diff)
fix linting errors
-rw-r--r--src/sliceitoff/display/display.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/sliceitoff/display/display.py b/src/sliceitoff/display/display.py
index a161dc4..ba4a4f3 100644
--- a/src/sliceitoff/display/display.py
+++ b/src/sliceitoff/display/display.py
@@ -14,7 +14,6 @@ def gen_backdrop(color, color2):
for y in range(240):
srfc.set_at((x,y),color if (x+y)%2 else color2)
return srfc
-
class Display():
"""display.Display - Handles graphics. Init, clear, draw, borders... """
@@ -42,7 +41,6 @@ class Display():
def update(self, groups = None):
""" Updates the screen: clear, blit gropus and flip """
self.screen.blit(self.backdrop, (Scaling.left,Scaling.top))
- # fill(CGA_COLORS[4], rect=Scaling.active)
for group in groups:
group.draw(self.screen)
self.screen.fill(0, rect=Scaling.borders[0])