Add an empty row so the content of the page before isn't stuck there.
Add an empty row so the content of the page before isn't stuck there.
This commit is contained in:
parent
5b47c94fb2
commit
a1f538e0d2
1 changed files with 1 additions and 0 deletions
|
|
@ -14,6 +14,7 @@ class BubaTime(BubaAnimation):
|
||||||
self.buba.text(page=0, row=0, col_start=0, col_end=119, text="Chaos Computer Club", align=BubaCmd.ALIGN_CENTER)
|
self.buba.text(page=0, row=0, col_start=0, col_end=119, text="Chaos Computer Club", align=BubaCmd.ALIGN_CENTER)
|
||||||
self.buba.text(page=0, row=1, col_start=0, col_end=119, text="Hansestadt Hamburg", align=BubaCmd.ALIGN_CENTER)
|
self.buba.text(page=0, row=1, col_start=0, col_end=119, text="Hansestadt Hamburg", align=BubaCmd.ALIGN_CENTER)
|
||||||
# self.buba.text(page=0, row=2, col_start=0, col_end=119, text=f"{self.ip}", align=BubaCmd.ALIGN_CENTER)
|
# self.buba.text(page=0, row=2, col_start=0, col_end=119, text=f"{self.ip}", align=BubaCmd.ALIGN_CENTER)
|
||||||
|
self.buba.text(page=0, row=1, col_start=0, col_end=119, text=" ", align=BubaCmd.ALIGN_CENTER) # Add an empty row so the content of the page before isn't stuck there.
|
||||||
self.buba.text(page=0, row=3, col_start=0, col_end=119, text=datetime.now().strftime("%Y-%m-%d %H:%M"), align=BubaCmd.ALIGN_CENTER)
|
self.buba.text(page=0, row=3, col_start=0, col_end=119, text=datetime.now().strftime("%Y-%m-%d %H:%M"), align=BubaCmd.ALIGN_CENTER)
|
||||||
|
|
||||||
sleep(10)
|
sleep(10)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue