Przeglądaj źródła

fix: EXEC time round

micha 3 miesięcy temu
rodzic
commit
f2c723a9dc
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      _LibreLightDesk.py

+ 1 - 1
_LibreLightDesk.py

@@ -560,7 +560,7 @@ def jclient_send(data):
                     if jdata["ATTR"].startswith("_"):
                         pass # ignore attr._ACTIVE 
                     else:#
-                        jdata["time"] = t_start
+                        jdata["time"] = int(t_start*1000)/1000
                         jdatas.append(jdata)
                 
                 #cprint("-- ",jdata,color="red")