mirror of
https://codeberg.org/mclemens/qrzlogger.git
synced 2025-01-03 13:26:32 -05:00
fixed bug with recent qso display
This commit is contained in:
parent
671be94955
commit
69e43e509f
@ -634,15 +634,15 @@ def main():
|
|||||||
% (attr('underlined'), qrz.hlcol, attr('reset')))
|
% (attr('underlined'), qrz.hlcol, attr('reset')))
|
||||||
qrz.print_table(qrz.get_qso_detail_table(qrz.qso))
|
qrz.print_table(qrz.get_qso_detail_table(qrz.qso))
|
||||||
done = qrz.confirm_and_submit_qso(call)
|
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
|
# the user has entered 'c' during the QSO detail entering process
|
||||||
else:
|
else:
|
||||||
done = True
|
done = True
|
||||||
qrz.qso = None
|
qrz.qso = None
|
||||||
continue
|
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__":
|
if __name__ == "__main__":
|
||||||
|
Loading…
Reference in New Issue
Block a user