We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82b588a commit 0023db4Copy full SHA for 0023db4
RTC-Hat-Examples/RTCreboot/pwrite_text.py
@@ -25,7 +25,7 @@ def write_text(papirus, text, x=0, y=0,
25
save=False, file='save.bmp'):
26
global image, draw, font
27
28
- if os.path.isfile(ldfile):
+ if load and os.path.isfile(ldfile):
29
image = Image.open(ldfile)
30
image.load()
31
os.remove(ldfile)
0 commit comments