Update monitor.py

Fixed problem broken the line. TNX F1SCA.
This commit is contained in:
Waldek 2020-02-01 09:42:31 +01:00 committed by GitHub
parent 63b3c9be84
commit e94deb5608
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -548,8 +548,7 @@ def process_message(_bmessage):
dur=str(int(float(duration.strip())))
if row[10] not in my_list:
if len(row) < 13:
hline="<TR style=\"background-color:#f9f9f9f9;\"><TD>"+row[0][:10]+"</TD><TD>"+row[0][11:16]+"</TD><TD>"+row[7][2:]+"</TD><TD><font color=brown><b><a target=\"_blank\" href=https://qrz.com/db/"+row[11]+">"+row[11]+"</a></b></font><span style=\"font: 7pt arial,sans-serif\"> ("+row[10]+")</span></TD><TD><font color=#002d62><b></b></font></TD><TD><font color=blue><b>"+row[8][2:]+"</b></font></TD><TD><font color=green><b>"+row[9]+"</b></font></TD>
\]<TD>"+dur+"</TD><TD>"+row[6]+"</TD><TD>"+row[4]+"</TD></TR>"
hline="<TR style=\"background-color:#f9f9f9f9;\"><TD>"+row[0][:10]+"</TD><TD>"+row[0][11:16]+"</TD><TD>"+row[7][2:]+"</TD><TD><font color=brown><b><a target=\"_blank\" href=https://qrz.com/db/"+row[11]+">"+row[11]+"</a></b></font><span style=\"font: 7pt arial,sans-serif\"> ("+row[10]+")</span></TD><TD><font color=#002d62><b></b></font></TD><TD><font color=blue><b>"+row[8][2:]+"</b></font></TD><TD><font color=green><b>"+row[9]+"</b></font></TD><TD>"+dur+"</TD><TD>"+row[6]+"</TD><TD>"+row[4]+"</TD></TR>"
my_list.append(row[10])
n += 1
else: