mirror of
https://codeberg.org/mclemens/qrzlogger.git
synced 2025-01-31 06:56:24 -05:00
small bugfixes
This commit is contained in:
parent
76fec31674
commit
ca6cb4d028
@ -7,8 +7,8 @@ qrz_pass = q1w2e3r4t5z6u7i8o9
|
||||
xml_fields = ("call", "band", "mode", "qso_date", "time_on", "rst_sent", "rst_rcvd", "comment")
|
||||
|
||||
# default values for new QSOs
|
||||
band = "40m"
|
||||
mode = "SSB"
|
||||
rst_rcvd = "59"
|
||||
rst_sent = "59"
|
||||
tx_pwr = "5"
|
||||
band = 40m
|
||||
mode = SSB
|
||||
rst_rcvd = 59
|
||||
rst_sent = 59
|
||||
tx_pwr = 5
|
||||
|
@ -251,6 +251,8 @@ def sendQSO(qso):
|
||||
adif += '<' + field + ':' + str(len(qso[field][1])) + '>' + qso[field][1]
|
||||
adif += '<eor>'
|
||||
|
||||
print(adif)
|
||||
|
||||
# construct POST data
|
||||
post_data = { 'KEY' : config['qrzlogger']['api_key'], 'ACTION' : 'INSERT', 'ADIF' : adif }
|
||||
|
||||
@ -323,6 +325,7 @@ if __name__ == '__main__':
|
||||
while not qso_ok:
|
||||
# query QSO details from thbe user
|
||||
qso = queryQSOData(qso)
|
||||
print(qso)
|
||||
# generate a pretty table
|
||||
tab = getQSODetailTable(qso)
|
||||
print(tab)
|
||||
|
Loading…
Reference in New Issue
Block a user