fix col_end
This commit is contained in:
parent
bdc7c2b1bc
commit
8e9fa0b16e
1 changed files with 3 additions and 3 deletions
|
@ -10,9 +10,9 @@ class BubaTime(BubaAnimation):
|
||||||
super().__init__(buba)
|
super().__init__(buba)
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
self.buba.text(page=0, row=0, col_start=0, col_end=120, 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=120, 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=3, col_start=0, col_end=120, 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…
Add table
Add a link
Reference in a new issue