to str
This commit is contained in:
parent
6725dceef6
commit
d5d72f3fda
@ -63,7 +63,7 @@ def init_monitor():
|
||||
|
||||
# Drawing on the Horizontal image
|
||||
logging.info("1.Drawing on the Horizontal image...")
|
||||
drawblack.text((4, 0), 'Noch: ' + duration + 'bis', font = font16, fill = 0)
|
||||
drawblack.text((4, 0), 'Noch: ' + str(duration) + 'bis', font = font16, fill = 0)
|
||||
drawblack.text((4, 16), 'Hausverbrauch', font = font16, fill = 0)
|
||||
drawblack.text((4, 32), 'Strom Import', font = font16, fill = 0)
|
||||
drawblack.text((4, 48), 'Batterie', font = font16, fill = 0)
|
||||
|
Loading…
Reference in New Issue
Block a user