fixed bug with recent qso display

This commit is contained in:
Michael Clemens 2021-06-08 22:18:57 +02:00
parent 671be94955
commit 69e43e509f
1 changed files with 4 additions and 4 deletions

View File

@ -634,15 +634,15 @@ def main():
% (attr('underlined'), qrz.hlcol, attr('reset')))
qrz.print_table(qrz.get_qso_detail_table(qrz.qso))
done = qrz.confirm_and_submit_qso(call)
# add some of the QSO detail to the recent_qsos list
recent_qsos.append([call, qrz.qso["time_on"][1], qrz.qso["freq"][1]])
if len(recent_qsos)>qrz.recent_qso_limit:
recent_qsos.pop(0)
# the user has entered 'c' during the QSO detail entering process
else:
done = True
qrz.qso = None
continue
# add some of the QSO detail to the recent_qsos list
recent_qsos.append([call, qrz.qso["time_on"][1], qrz.qso["freq"][1]])
if len(recent_qsos)>qrz.recent_qso_limit:
recent_qsos.pop(0)
if __name__ == "__main__":