mirror of
https://github.com/FAUSheppy/config
synced 2025-12-08 07:41:35 +01:00
[git fast commit] 30. Jun 2018 - 06:26:12
This commit is contained in:
@@ -69,15 +69,17 @@ def bcw():
|
|||||||
with open(hl_utils.hlpath(BC_WORD_LOG),'r') as f:
|
with open(hl_utils.hlpath(BC_WORD_LOG),'r') as f:
|
||||||
tmp = int(f.read())
|
tmp = int(f.read())
|
||||||
string = "{} of 6000 words".format(tmp)
|
string = "{} of 6000 words".format(tmp)
|
||||||
return hl_utils.color_panel(string,hl_utils.get_color(tmp,0,8000,reverse=False))
|
return hl_utils.color_panel(string,hl_utils.get_color(tmp,0,6000,reverse=False))
|
||||||
except:
|
except:
|
||||||
return ""
|
return ""
|
||||||
def bwp():
|
def bwp():
|
||||||
|
tmp = ""
|
||||||
try:
|
try:
|
||||||
with open(hl_utils.hlpath(BC_PAGE_LOG),'r') as f:
|
with open(hl_utils.hlpath(BC_PAGE_LOG),'r') as f:
|
||||||
return hl_utils.color_panel("{} pages".format(f.read().strip()),RED)
|
tmp = "{} pages".format(f.read().strip())
|
||||||
except:
|
except:
|
||||||
return "lolwtf"
|
tmp = "21 pages"
|
||||||
|
return hl_utils.color_panel(tmp,RED)
|
||||||
|
|
||||||
|
|
||||||
def countdown():
|
def countdown():
|
||||||
|
|||||||
Reference in New Issue
Block a user