From d532524dcb8ca4c8684a9f3e02274e8fd6e54ca8 Mon Sep 17 00:00:00 2001 From: Waldek Date: Sat, 22 May 2021 12:08:00 +0200 Subject: [PATCH] remove TimeSlot info from lasheard --- monitor.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/monitor.py b/monitor.py index 33ca53f..db38fa9 100644 --- a/monitor.py +++ b/monitor.py @@ -766,7 +766,7 @@ def process_message(_bmessage): f.write("
\n") f.write(" .: Lastheard :. \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))),200): duration=row[1] @@ -777,11 +777,11 @@ def process_message(_bmessage): else: qrz = ""+row[11]+" ("+row[10]+")" if len(row) < 13: - hline="" + hline="" my_list.append(row[10]) n += 1 else: - hline="" + hline="" my_list.append(row[10]) n += 1 f.write(hline+"\n")
DateTimeCallsign (DMR-Id)NameTG#TG NameTX (s)SlotSystem
DateTimeCallsign (DMR-Id)NameTG#TG NameTX (s)System
"+row[0][:10]+""+row[0][11:16]+""+qrz+""+row[8][2:]+""+row[9]+""+dur+""+row[7][2:]+""+row[4]+"
"+row[0][:10]+""+row[0][11:16]+""+qrz+""+row[8][2:]+""+row[9]+""+dur+""+row[4]+"
"+row[0][:10]+""+row[0][11:16]+""+qrz+""+row[12]+""+row[8][2:]+""+row[9]+""+dur+""+row[7][2:]+""+row[4]+"
"+row[0][:10]+""+row[0][11:16]+""+qrz+""+row[12]+""+row[8][2:]+""+row[9]+""+dur+""+row[4]+"