mirror of
https://github.com/FAUSheppy/config
synced 2025-12-07 23:41:34 +01:00
Changed behaviour for login tracking
This commit is contained in:
@@ -47,8 +47,11 @@ def date():
|
||||
return hl_utils.shexec("date +' ^fg(#efefef)%H:%M^fg(#909090), %Y-%m-^fg(#efefef)%d'")
|
||||
|
||||
def logins():
|
||||
with open(hl_utils.hlpath(LOGINS_LOG),'r') as f:
|
||||
return f.read()
|
||||
try:
|
||||
with open(hl_utils.hlpath(LOGINS_LOG),'r') as f:
|
||||
return f.read()
|
||||
except:
|
||||
return ""
|
||||
|
||||
if __name__ == "__main__":
|
||||
print(logins(),ip(),vpn(),guthaben(),battery(),date(),sep='',end='')
|
||||
|
||||
Reference in New Issue
Block a user