tsi %!s(int64=2) %!d(string=hai) anos
pai
achega
13f1e60603
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      scripts/check_serial.py

+ 1 - 1
scripts/check_serial.py

@@ -37,7 +37,7 @@ def check_log_file(log_file, error_msg, last_line_file):
     for i, line in enumerate(log_lines[last_line_read:]):
         if re.search(error_msg, line):
             with open(last_line_file, "w") as f:
-                f.write(str(last_line_read + i + 1))
+                f.write(str(last_line_read + i + 3))
             return True
     with open(last_line_file, "w") as f:
         f.write(str(len(log_lines)))