[git fast commit] 24. Jun 2018 - 16:46:37

This commit is contained in:
Sheppy
2018-06-24 16:46:37 +02:00
parent 4f9092743d
commit 8bf4285c32
5 changed files with 33 additions and 5 deletions

View File

@@ -64,6 +64,16 @@ def logins():
except:
return ""
def bcw():
try:
with open(hl_utils.hlpath(BC_WORD_LOG),'r') as f:
tmp = int(f.read())
string = "{} of 6000 words".format(tmp)
return hl_utils.color_panel(string,hl_utils.get_color(tmp,0,8000,reverse=False))
except:
return ""
def countdown():
delta = datetime(year=2018,month=7,day=22,hour=20) - datetime.now()
if delta.days > 1:
@@ -75,4 +85,4 @@ def countdown():
if __name__ == "__main__":
print(countdown(),logins(),ip(),vpn(),guthaben(),battery(),date(),sep='',end='')
print(bcw(),countdown(),logins(),ip(),vpn(),guthaben(),battery(),date(),sep='',end='')