yes.
This commit is contained in:
parent
fd37418d0a
commit
97cb9f5cf4
1 changed files with 1 additions and 1 deletions
2
main.py
2
main.py
|
@ -223,7 +223,7 @@ def drawClock():
|
||||||
time.sleep(0.4)
|
time.sleep(0.4)
|
||||||
canvas = Image.new('RGB', (64,128), color = 'black')
|
canvas = Image.new('RGB', (64,128), color = 'black')
|
||||||
clock_text = ImageDraw.Draw(canvas)
|
clock_text = ImageDraw.Draw(canvas)
|
||||||
clock_text.text((20,0), datetime.now(), font = clock_font, align = center)
|
clock_text.text((20,0), datetime.now(), font = clock_font, align = "center")
|
||||||
showImage(canvas, 32, 0)
|
showImage(canvas, 32, 0)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue