1
0
Fork 0

Fixed monitor exec

This commit is contained in:
Thomas Luther 2024-02-03 02:01:42 +01:00
parent 407dba4a3e
commit 072ce0e731
7 changed files with 1 additions and 1 deletions

Binary file not shown.

Binary file not shown.

View File

@ -129,7 +129,7 @@ async def main() -> None:
print("")
#print(json.dumps(myapi.devices, indent=2))
for sec in range(0,REFRESH):
now = datetime.now()
now = datetime.now().astimezone()
if sys.stdin is sys.__stdin__:
print(f"Site refresh: {int((next_refr-now).total_seconds()):>3} sec, Device details refresh: {int((next_dev_refr-now).total_seconds()):>3} sec (CTRL-C to abort)", end = "\r", flush=True)
elif sec == 0: