From 1437717bafbd7ec501f423f274b690df0ea31beb Mon Sep 17 00:00:00 2001 From: Waldek Date: Sat, 22 May 2021 12:20:42 +0200 Subject: [PATCH] Update monitor.py --- monitor.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/monitor.py b/monitor.py index a5bff84..4e0d885 100644 --- a/monitor.py +++ b/monitor.py @@ -773,7 +773,7 @@ def process_message(_bmessage): f.write("
\n") f.write(" .: DMR Server activity :. \n") f.write("\n") - f.write("\n") + f.write("\n") with open(LOG_PATH+"lastheard.log", "r") as textfile: for row in islice(reversed(list(csv.reader(textfile))),400): duration_in_s = 0 @@ -804,11 +804,11 @@ def process_message(_bmessage): else: qrz = ""+row[11]+" ("+row[10]+")" if len(row) < 13: - hline=""+durtx+"" + hline="" my_list.append(row[10]) n += 1 else: - hline=""+durtx+"" + hline="" my_list.append(row[10]) n += 1 f.write(hline+"\n")
DateTimeCallsign (DMR-Id)NameTG#TG Name TX (s) SlotSystem
DateTimeCallsign (DMR-Id)NameTG#TG Name TX (s) System
"+row[0][:10]+""+row[0][11:16]+""+qrz+""+row[8][2:]+""+row[9]+""+row[7][2:]+""+row[4]+"
"+row[0][:10]+""+row[0][11:16]+""+qrz+""+row[8][2:]+""+row[9]+""+durtx+""+row[4]+"
"+row[0][:10]+""+row[0][11:16]+""+qrz+""+row[12]+""+row[8][2:]+""+row[9]+""+row[7][2:]+""+row[4]+"
"+row[0][:10]+""+row[0][11:16]+""+qrz+""+row[12]+""+row[8][2:]+""+row[9]+""+durtx+""+row[4]+"