mirror of
https://github.com/FAUSheppy/config
synced 2025-12-06 07:01:36 +01:00
[git fast commit] 23. Jul 2018 - 12:55:08
This commit is contained in:
@@ -89,6 +89,8 @@ def bwp():
|
|||||||
|
|
||||||
def countdown():
|
def countdown():
|
||||||
delta = datetime(year=2018,month=7,day=23,hour=12) - datetime.now()
|
delta = datetime(year=2018,month=7,day=23,hour=12) - datetime.now()
|
||||||
|
if delta.total_seconds() < 0:
|
||||||
|
return hl_utils.color_panel('Have a nice life without me fuckers.',RED)
|
||||||
tmp = "{} days {} hours remaining".format(delta.days,int(delta.seconds/60/60))
|
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))
|
tmp = hl_utils.color_panel(tmp,hl_utils.get_color(delta.days,0,180))
|
||||||
return tmp
|
return tmp
|
||||||
|
|||||||
Reference in New Issue
Block a user