mirror of
https://github.com/FAUSheppy/config
synced 2025-12-09 08:08:32 +01:00
omg
This commit is contained in:
@@ -72,7 +72,7 @@ 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 = "{} words".format(tmp)
|
string = "{} words".format(tmp)
|
||||||
return hl_utils.color_panel(string,hl_utils.get_color(tmp,0,12000,reverse=False))
|
return hl_utils.color_panel(string,hl_utils.get_color(tmp,0,9000,reverse=False))
|
||||||
except:
|
except:
|
||||||
return ""
|
return ""
|
||||||
def bwp():
|
def bwp():
|
||||||
@@ -83,7 +83,7 @@ def bwp():
|
|||||||
tmp = "{} pages".format(f.read().strip())
|
tmp = "{} pages".format(f.read().strip())
|
||||||
except:
|
except:
|
||||||
tmp = "{} pages".format(cur)
|
tmp = "{} pages".format(cur)
|
||||||
tmp = hl_utils.color_panel(tmp,hl_utils.get_color(cur,0,60))
|
tmp = hl_utils.color_panel(tmp,hl_utils.get_color(cur,0,45))
|
||||||
return tmp
|
return tmp
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user