Skip to content

Commit 19981e8

Browse files
authored
Merge pull request #248 from mbridak/cw-r_to_cw_in_adif
@mbridak FIX ADIF doesn't like CW-R
2 parents 4dbebe3 + fac0859 commit 19981e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

not1mm/lib/plugin_common.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ def gen_adif(self, cabrillo_name: str, contest_id=""):
8989
hisname = contact.get("Name", "")
9090
the_date_and_time = contact.get("TS", "")
9191
themode = contact.get("Mode", "")
92-
if themode == "CWR":
92+
if themode in ("CWR", "CW-R"):
9393
themode = "CW"
9494
if cabrillo_name in ("CQ-WW-RTTY", "WEEKLY-RTTY"):
9595
themode = "RTTY"

0 commit comments

Comments
 (0)