mirror of
https://github.com/FAUSheppy/config
synced 2025-12-06 07:01:36 +01:00
[git fast commit] 21. Jul 2018 - 02:51:07
This commit is contained in:
@@ -72,7 +72,7 @@ def bcw():
|
||||
with open(hl_utils.hlpath(BC_WORD_LOG),'r') as f:
|
||||
tmp = int(f.read())
|
||||
string = "{} words".format(tmp)
|
||||
return hl_utils.color_panel(string,hl_utils.get_color(tmp,0,9000,reverse=False))
|
||||
return hl_utils.color_panel(string,hl_utils.get_color(tmp,0,7000,reverse=False))
|
||||
except:
|
||||
return ""
|
||||
def bwp():
|
||||
@@ -83,7 +83,7 @@ def bwp():
|
||||
tmp = "{} pages".format(f.read().strip())
|
||||
except:
|
||||
tmp = "{} pages".format(cur)
|
||||
tmp = hl_utils.color_panel(tmp,hl_utils.get_color(cur,0,45))
|
||||
tmp = hl_utils.color_panel(tmp,hl_utils.get_color(cur,0,44,reverse=False))
|
||||
return tmp
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user