[git fast commit] 21. Jul 2018 - 16:17:39

This commit is contained in:
Sheppy
2018-07-21 16:17:39 +02:00
parent 1fce1761af
commit bce3b6e125

View File

@@ -89,10 +89,7 @@ def bwp():
def countdown():
delta = datetime(year=2018,month=7,day=23,hour=12) - datetime.now()
if delta.days > 1:
tmp = "{} days {} hours remaining".format(delta.days,int(delta.seconds/60/60))
else:
tmp = "{}h bis BC Abgabe".format(delta.hours)
tmp = "{} days {} hours remaining".format(delta.days,int(delta.seconds/60/60))
tmp = hl_utils.color_panel(tmp,hl_utils.get_color(delta.days,0,180))
return tmp