not1mm 24.10.27__py3-none-any.whl → 24.10.27.1__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
@@ -1041,7 +1041,9 @@ class MainWindow(QtWidgets.QMainWindow):
1041
1041
  if mode in ["CW", "SSB", "RTTY"]:
1042
1042
  freq = fakefreq(str(band), mode)
1043
1043
  self.change_freq(freq)
1044
- self.change_mode(mode)
1044
+ vfo = float(freq)
1045
+ vfo = int(vfo * 1000)
1046
+ self.change_mode(mode, intended_freq=vfo)
1045
1047
 
1046
1048
  def quit_app(self) -> None:
1047
1049
  """
@@ -3125,12 +3127,12 @@ class MainWindow(QtWidgets.QMainWindow):
3125
3127
 
3126
3128
  def change_freq(self, stripped_text: str) -> None:
3127
3129
  """
3128
- Change VFO to given frequency in Khz and set the band indicator.
3129
- Send the new frequency to the rig control.
3130
+ Change Radios VFO to given frequency in Khz.
3130
3131
 
3131
3132
  Parameters
3132
3133
  ----------
3133
- stripped_text : str
3134
+ stripped_text: str
3135
+
3134
3136
  Stripped of any spaces.
3135
3137
 
3136
3138
  Returns
@@ -3160,7 +3162,7 @@ class MainWindow(QtWidgets.QMainWindow):
3160
3162
  if self.bandmap_window:
3161
3163
  self.bandmap_window.msg_from_main(cmd)
3162
3164
 
3163
- def change_mode(self, mode: str) -> None:
3165
+ def change_mode(self, mode: str, intended_freq=None) -> None:
3164
3166
  """
3165
3167
  Change mode to given mode.
3166
3168
  Send the new mode to the rig control.
@@ -3208,10 +3210,16 @@ class MainWindow(QtWidgets.QMainWindow):
3208
3210
  self.read_cw_macros()
3209
3211
  return
3210
3212
  if mode == "SSB":
3211
- if int(self.radio_state.get("vfoa", 0)) > 10000000:
3213
+ if intended_freq:
3214
+ freq = intended_freq
3215
+ else:
3216
+ freq = int(self.radio_state.get("vfoa", 0))
3217
+
3218
+ if freq > 10000000:
3212
3219
  self.radio_state["mode"] = "USB"
3213
3220
  else:
3214
3221
  self.radio_state["mode"] = "LSB"
3222
+
3215
3223
  if self.rig_control and self.rig_control.online:
3216
3224
  self.rig_control.set_mode(self.radio_state.get("mode"))
3217
3225
  else:
not1mm/lib/version.py CHANGED
@@ -1,3 +1,3 @@
1
1
  """It's the version"""
2
2
 
3
- __version__ = "24.10.27"
3
+ __version__ = "24.10.27.1"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: not1mm
3
- Version: 24.10.27
3
+ Version: 24.10.27.1
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
@@ -232,6 +232,7 @@ generated, 'cause I'm lazy, list of those who've submitted PR's.
232
232
 
233
233
  ## Recent Changes (Polishing the Turd)
234
234
 
235
+ - [24-10-27-1] Fixed setting radios ssb mode when crossing 10M boundary.
235
236
  - [24-10-27] Fix bug where a contacts info could be carried over to new contact if no new value was written.
236
237
  - [24-10-26] Clear inputs when seeking to a call from the bandmap via the arrow up and down. Fixed bandmap crash from bad telnet data. Drop beacons from bandmap.
237
238
  - [24-10-25] Add File Menu option to create either an ASCII or UTF8 Cabrillo.
@@ -1,5 +1,5 @@
1
1
  not1mm/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- not1mm/__main__.py,sha256=JPKFnKAh1GZEH3NOidGpy86TcDZqm8gMABPR7VQiP3s,135485
2
+ not1mm/__main__.py,sha256=QQQ5eU9UBMt1mCVZB_MGbGJZP_CszuMHP7YAG_1ENKo,135632
3
3
  not1mm/bandmap.py,sha256=X6mMHXS1kXBbUPZCaKgiVJ6Dz6DE6LEQqtEXfT3telg,30811
4
4
  not1mm/checkwindow.py,sha256=F6hNCbVSLG2PPY2afgmwlBWeqr1Uj4-n__AivDLVQ_0,9670
5
5
  not1mm/fsutils.py,sha256=ukHKxKTeNKxKwqRaJjtzRShL4X5Xl0jRBbADyy3Ifp8,1701
@@ -115,7 +115,7 @@ not1mm/lib/plugin_common.py,sha256=TbFUbftjELFt4QRdsjSHbqnXSngZOlSwlCTClqosDXA,9
115
115
  not1mm/lib/select_contest.py,sha256=WsptLuwkouIHeocJL3oZ6-eUfEnhpwdc-x7eMZ_TIVM,359
116
116
  not1mm/lib/settings.py,sha256=7_JFDSKPOd35Gwzqhrbed4EfrlYUm7AEnz2xBRioc-g,13280
117
117
  not1mm/lib/super_check_partial.py,sha256=hwT2NRwobu0PLDyw6ltmbmcAtGBD02CKGFbgGWjXMqA,2334
118
- not1mm/lib/version.py,sha256=QxrGgy8tR7cnyUhE8alHEwdXU9Kmlr6zOuorgYRplTw,49
118
+ not1mm/lib/version.py,sha256=xy8vIb9UKfyZu2814pEtuZUCDVSE7Oki0UJzagb1_8Q,51
119
119
  not1mm/lib/versiontest.py,sha256=8vDNptuBBunn-1IGkjNaquehqBYUJyjrPSF8Igmd4_Y,1286
120
120
  not1mm/plugins/10_10_fall_cw.py,sha256=QQjEgWQRT35qG1bi87QhoUIOzGbN8C27WIUhhoFNsAI,11866
121
121
  not1mm/plugins/10_10_spring_cw.py,sha256=nGznP9VLooaDnHi0JXttosqAtSRH32oXwWmMrXf95A0,11871
@@ -160,9 +160,9 @@ not1mm/plugins/ref_ssb.py,sha256=UC8xwl4uRihTvlYsITCvfTCPVbNXpnO91T8qMDKaW8E,209
160
160
  not1mm/plugins/stew_perry_topband.py,sha256=UOK9M23eMkcEB83kL8NPHl6QDBJFCXKZpBRlhfuEH2c,11581
161
161
  not1mm/plugins/weekly_rtty.py,sha256=WoMfQXJczvoHQB04i6TAvL6MF91uOOQ9ZmB9BpUkOfo,19098
162
162
  not1mm/plugins/winter_field_day.py,sha256=wPxHKPPeyE2XlRT6Unnz09evFwd0ghWtXU5l-nMr3aI,14492
163
- not1mm-24.10.27.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
164
- not1mm-24.10.27.dist-info/METADATA,sha256=x0lp0IkthtaRZecYrTklYNMDChhthPypCAlNwWAQVNU,35544
165
- not1mm-24.10.27.dist-info/WHEEL,sha256=OVMc5UfuAQiSplgO0_WdW7vXVGAt9Hdd6qtN4HotdyA,91
166
- not1mm-24.10.27.dist-info/entry_points.txt,sha256=pMcZk_0dxFgLkcUkF0Q874ojpwOmF3OL6EKw9LgvocM,47
167
- not1mm-24.10.27.dist-info/top_level.txt,sha256=0YmTxEcDzQlzXub-lXASvoLpg_mt1c2thb5cVkDf5J4,7
168
- not1mm-24.10.27.dist-info/RECORD,,
163
+ not1mm-24.10.27.1.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
164
+ not1mm-24.10.27.1.dist-info/METADATA,sha256=5N1Y7hnZyFuKUFhQ8qHuKFsi_tGPIdKEzJ3WB3elEYI,35619
165
+ not1mm-24.10.27.1.dist-info/WHEEL,sha256=OVMc5UfuAQiSplgO0_WdW7vXVGAt9Hdd6qtN4HotdyA,91
166
+ not1mm-24.10.27.1.dist-info/entry_points.txt,sha256=pMcZk_0dxFgLkcUkF0Q874ojpwOmF3OL6EKw9LgvocM,47
167
+ not1mm-24.10.27.1.dist-info/top_level.txt,sha256=0YmTxEcDzQlzXub-lXASvoLpg_mt1c2thb5cVkDf5J4,7
168
+ not1mm-24.10.27.1.dist-info/RECORD,,