not1mm 25.3.5__py3-none-any.whl → 25.3.10__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
not1mm/__main__.py CHANGED
@@ -3480,12 +3480,13 @@ class MainWindow(QtWidgets.QMainWindow):
3480
3480
  None
3481
3481
  """
3482
3482
  if mode in ("CW", "CW-U", "CW-L", "CWR"):
3483
- if self.rig_control and self.rig_control.online:
3484
- self.rig_control.set_mode(self.rig_control.last_cw_mode)
3485
- if self.pref.get("cwtype") == 3 and self.rig_control is not None:
3486
- if self.rig_control.interface == "flrig":
3487
- self.cwspeed_spinbox_changed()
3488
- self.rig_control.cat.set_flrig_cw_send(True)
3483
+ if self.rig_control:
3484
+ if self.rig_control.online:
3485
+ self.rig_control.set_mode(self.rig_control.last_cw_mode)
3486
+ if self.pref.get("cwtype") == 3 and self.rig_control is not None:
3487
+ if self.rig_control.interface == "flrig":
3488
+ self.cwspeed_spinbox_changed()
3489
+ self.rig_control.cat.set_flrig_cw_send(True)
3489
3490
  else:
3490
3491
  self.setmode("CW")
3491
3492
  self.radio_state["mode"] = "CW"
@@ -3505,8 +3506,9 @@ class MainWindow(QtWidgets.QMainWindow):
3505
3506
  "AM-D",
3506
3507
  "FM-D",
3507
3508
  ):
3508
- if self.rig_control and self.rig_control.online:
3509
- self.rig_control.set_mode(self.rig_control.last_data_mode)
3509
+ if self.rig_control:
3510
+ if self.rig_control.online:
3511
+ self.rig_control.set_mode(self.rig_control.last_data_mode)
3510
3512
  else:
3511
3513
  self.radio_state["mode"] = "RTTY"
3512
3514
  self.setmode("RTTY")
@@ -3527,8 +3529,9 @@ class MainWindow(QtWidgets.QMainWindow):
3527
3529
  else:
3528
3530
  self.radio_state["mode"] = "LSB"
3529
3531
 
3530
- if self.rig_control and self.rig_control.online:
3531
- self.rig_control.set_mode(self.radio_state.get("mode"))
3532
+ if self.rig_control:
3533
+ if self.rig_control.online:
3534
+ self.rig_control.set_mode(self.radio_state.get("mode"))
3532
3535
  else:
3533
3536
  self.setmode("SSB")
3534
3537
  band = getband(str(self.radio_state.get("vfoa", "0.0")))
@@ -3732,7 +3735,6 @@ class MainWindow(QtWidgets.QMainWindow):
3732
3735
 
3733
3736
  # The following pertains to radio polling.
3734
3737
  logger.debug(f"{the_dict=}")
3735
- self.set_radio_icon(0)
3736
3738
  info_dirty = False
3737
3739
  vfo = the_dict.get("vfoa", "")
3738
3740
  mode = the_dict.get("mode", "")
@@ -3740,8 +3742,9 @@ class MainWindow(QtWidgets.QMainWindow):
3740
3742
  if bw == "NONE":
3741
3743
  bw = "0"
3742
3744
  online = the_dict.get("online", False)
3743
-
3744
- if online is False:
3745
+ if self.rig_control.interface == "fake":
3746
+ self.set_radio_icon(0)
3747
+ elif online is False:
3745
3748
  self.set_radio_icon(1)
3746
3749
  else:
3747
3750
  self.set_radio_icon(2)
@@ -3756,8 +3759,9 @@ class MainWindow(QtWidgets.QMainWindow):
3756
3759
  self.contact["Band"] = get_logged_band(str(vfo))
3757
3760
  self.set_band_indicator(band)
3758
3761
 
3759
- if self.rig_control and self.rig_control.online:
3760
- self.rig_control.get_modes()
3762
+ if self.rig_control:
3763
+ if self.rig_control.online:
3764
+ self.rig_control.get_modes()
3761
3765
 
3762
3766
  if self.radio_state.get("mode") != mode:
3763
3767
  info_dirty = True
@@ -3789,14 +3793,14 @@ class MainWindow(QtWidgets.QMainWindow):
3789
3793
  ):
3790
3794
  self.setmode("RTTY")
3791
3795
 
3792
- # cmd = {}
3793
- # cmd["cmd"] = "RADIO_STATE"
3794
- # cmd["band"] = band
3795
- # cmd["vfoa"] = vfo
3796
- # cmd["mode"] = mode
3797
- # cmd["bw"] = bw
3798
- # if self.bandmap_window:
3799
- # self.bandmap_window.msg_from_main(cmd)
3796
+ cmd = {}
3797
+ cmd["cmd"] = "RADIO_STATE"
3798
+ cmd["band"] = band
3799
+ cmd["vfoa"] = vfo
3800
+ cmd["mode"] = mode
3801
+ cmd["bw"] = bw
3802
+ if self.bandmap_window:
3803
+ self.bandmap_window.msg_from_main(cmd)
3800
3804
  if info_dirty:
3801
3805
  try:
3802
3806
  logger.debug("VFO: %s MODE: %s BW: %s", vfo, mode, bw)
@@ -82,6 +82,7 @@ def gen_adif(self, cabrillo_name: str, contest_id=""):
82
82
  log = self.database.fetch_all_contacts_asc()
83
83
  try:
84
84
  with open(filename, "w", encoding="utf-8") as file_descriptor:
85
+ print("Not1MM ADIF export", end="\r\n", file=file_descriptor)
85
86
  print("<ADIF_VER:5>2.2.0", end="\r\n", file=file_descriptor)
86
87
  print("<EOH>", end="\r\n", file=file_descriptor)
87
88
  for contact in log:
not1mm/lib/version.py CHANGED
@@ -1,3 +1,3 @@
1
1
  """It's the version"""
2
2
 
3
- __version__ = "25.3.5"
3
+ __version__ = "25.3.10"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: not1mm
3
- Version: 25.3.5
3
+ Version: 25.3.10
4
4
  Summary: NOT1MM Logger
5
5
  Author-email: Michael Bridak <michael.bridak@gmail.com>
6
6
  Project-URL: Homepage, https://github.com/mbridak/not1mm
@@ -240,6 +240,7 @@ generated, 'cause I'm lazy, list of those who've submitted PR's.
240
240
 
241
241
  ## Recent Changes
242
242
 
243
+ - [25-3-10] Slight change to adif header. Slight change to CAT status icon state.
243
244
  - [25-3-5] Added checks for blank/comment lines in the macros
244
245
  - [25-3-2] Added call history support to ARRL DX, just in time for it to be over.
245
246
  - [25-3-1] Add {OTHER1} and {OTHER2} macros.
@@ -1,5 +1,5 @@
1
1
  not1mm/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- not1mm/__main__.py,sha256=ImYkGDI_vV26zkLHRhpABSaCcVV5mdHzV2I3g0aQXTc,148862
2
+ not1mm/__main__.py,sha256=wAXxJ1iEt-sQWOY7ULvrbmBucI_u4sdAXlmJb-3lbUc,148992
3
3
  not1mm/bandmap.py,sha256=mdSK6oj8plEmr6WVYkzPTCfsHWKl9lea3R14cmRsAI4,31531
4
4
  not1mm/checkwindow.py,sha256=VFAcKYTcoWhmIf91chwY6tyao9FQMWPiUkgDDkkWaog,9670
5
5
  not1mm/fsutils.py,sha256=ukHKxKTeNKxKwqRaJjtzRShL4X5Xl0jRBbADyy3Ifp8,1701
@@ -112,11 +112,11 @@ not1mm/lib/lookup.py,sha256=KECMDi9tflRDzgTLeDfDl7HGWWRHvW3HCjNHyyjoWaY,10835
112
112
  not1mm/lib/multicast.py,sha256=KJcruI-bOuHfHXPjl3SGQhL6I9sKrygy-sdFSvxffUM,3255
113
113
  not1mm/lib/n1mm.py,sha256=H54mpgJF0GAmKavM-nb5OAq2SJFWYkux4eMWWiSRxJc,6288
114
114
  not1mm/lib/new_contest.py,sha256=IznTDMq7yXHB6zBoGUEC_WDYPCPpsSZW4wwMJi16zK0,816
115
- not1mm/lib/plugin_common.py,sha256=M5reDYM-v5IjAa2yTROvZTeTDkXYHb3U52W9mc9GxwA,13213
115
+ not1mm/lib/plugin_common.py,sha256=5tU1e_ES5bZFaLDbYWq7F7CXQ0RCQk7Y3yVF9L9y88Q,13287
116
116
  not1mm/lib/select_contest.py,sha256=WsptLuwkouIHeocJL3oZ6-eUfEnhpwdc-x7eMZ_TIVM,359
117
117
  not1mm/lib/settings.py,sha256=mXffn8Xaj5KATPQinNBR0V5DbHWQPsRfh24_axWGYuk,15254
118
118
  not1mm/lib/super_check_partial.py,sha256=hwT2NRwobu0PLDyw6ltmbmcAtGBD02CKGFbgGWjXMqA,2334
119
- not1mm/lib/version.py,sha256=gi_0LSINxGfRh30abAqZxn7WgqDMd2zYr9AyHT3YSPc,47
119
+ not1mm/lib/version.py,sha256=Rw_x7BbrPeLNgiGFPll7_KzAmLDGUD1HMP98laecqzs,48
120
120
  not1mm/lib/versiontest.py,sha256=8vDNptuBBunn-1IGkjNaquehqBYUJyjrPSF8Igmd4_Y,1286
121
121
  not1mm/plugins/10_10_fall_cw.py,sha256=5QUyGMvGBC-HxcY_z9QbfuxSg3f7p6C9K4qhTxgZE7k,14719
122
122
  not1mm/plugins/10_10_spring_cw.py,sha256=XjYFM263WYyG6nVQzPObW4YC7Z9L93rixSOcVsxPvH4,14722
@@ -167,9 +167,9 @@ not1mm/plugins/ref_ssb.py,sha256=Z_XmMpYKcI5dZh4TQqvQDcz-cLpMzpDEKBnb5iHeBLQ,215
167
167
  not1mm/plugins/stew_perry_topband.py,sha256=D1hekmMbx-i4BhaP2uzOK3OzaVVMMdgcN3RmfweNqHo,15341
168
168
  not1mm/plugins/weekly_rtty.py,sha256=rdlIrsxBeuj-RQc5OStVNF7sGCtBK5t6inN5Z7DI4tw,20066
169
169
  not1mm/plugins/winter_field_day.py,sha256=JK4r1vfxs7aADR7ZYbjZniz3f5s3_ipSQDZ0GRNWC7I,15222
170
- not1mm-25.3.5.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
171
- not1mm-25.3.5.dist-info/METADATA,sha256=_V3E4nKSoKm9lxIMjmwt4u7Gx1q4PpOfn4gCg3HjgMs,36289
172
- not1mm-25.3.5.dist-info/WHEEL,sha256=jB7zZ3N9hIM9adW7qlTAyycLYW9npaWKLRzaoVcLKcM,91
173
- not1mm-25.3.5.dist-info/entry_points.txt,sha256=pMcZk_0dxFgLkcUkF0Q874ojpwOmF3OL6EKw9LgvocM,47
174
- not1mm-25.3.5.dist-info/top_level.txt,sha256=0YmTxEcDzQlzXub-lXASvoLpg_mt1c2thb5cVkDf5J4,7
175
- not1mm-25.3.5.dist-info/RECORD,,
170
+ not1mm-25.3.10.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
171
+ not1mm-25.3.10.dist-info/METADATA,sha256=p1TuZVDN3Le-cZAXeAi996hzsg8KBYyn155iluM67bs,36372
172
+ not1mm-25.3.10.dist-info/WHEEL,sha256=52BFRY2Up02UkjOa29eZOS2VxUrpPORXg1pkohGGUS8,91
173
+ not1mm-25.3.10.dist-info/entry_points.txt,sha256=pMcZk_0dxFgLkcUkF0Q874ojpwOmF3OL6EKw9LgvocM,47
174
+ not1mm-25.3.10.dist-info/top_level.txt,sha256=0YmTxEcDzQlzXub-lXASvoLpg_mt1c2thb5cVkDf5J4,7
175
+ not1mm-25.3.10.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.8.2)
2
+ Generator: setuptools (76.0.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5