Skip to content

Commit a27d5f2

Browse files
committed
third pylint fix
third attempt at fixing pylint error
1 parent 122daa3 commit a27d5f2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Motorized_POV_Display/code.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,9 @@ class BMPError(Exception):
9696
pow((color * BRIGHTNESS) / 255, 2.7) * 255 + 0.5)
9797
idx += 1
9898

99+
except BMPError as e:
100+
print("Failed to parse BMP: " + e.args[0])
101+
99102
gc.collect()
100103
print(gc.mem_free())
101104
print("Ready to go!")

0 commit comments

Comments
 (0)