not1mm 25.5.21__py3-none-any.whl → 25.5.22__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/lib/settings.py CHANGED
@@ -139,7 +139,9 @@ class Settings(QtWidgets.QDialog):
139
139
  elif self.preference.get("cwtype") == 3:
140
140
  self.set_catforcw_port_hint()
141
141
  self.cwpaddingchar_field.setText(self.preference.get("cwpaddingchar", "T"))
142
- self.cwpaddinglength_field.setText(str(self.preference.get("cwpaddinglength", "3")))
142
+ self.cwpaddinglength_field.setText(
143
+ str(self.preference.get("cwpaddinglength", "3"))
144
+ )
143
145
 
144
146
  self.connect_to_server.setChecked(bool(self.preference.get("useserver")))
145
147
  self.multicast_group.setText(str(self.preference.get("multicast_group", "")))
@@ -269,7 +271,10 @@ class Settings(QtWidgets.QDialog):
269
271
  self.preference["cwport"] = None
270
272
  ...
271
273
  self.preference["cwpaddingchar"] = self.cwpaddingchar_field.text()
272
- self.preference["cwpaddinglength"] = int(self.cwpaddinglength_field.text())
274
+ try:
275
+ self.preference["cwpaddinglength"] = int(self.cwpaddinglength_field.text())
276
+ except ValueError:
277
+ self.preference["cwpaddinglength"] = 3
273
278
  self.preference["cwtype"] = 0
274
279
  if self.usecwdaemon_radioButton.isChecked():
275
280
  self.preference["cwtype"] = 1
not1mm/lib/version.py CHANGED
@@ -1,3 +1,3 @@
1
1
  """It's the version"""
2
2
 
3
- __version__ = "25.5.21"
3
+ __version__ = "25.5.22"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: not1mm
3
- Version: 25.5.21
3
+ Version: 25.5.22
4
4
  Summary: NOT1MM Logger
5
5
  Author-email: Michael Bridak <michael.bridak@gmail.com>
6
6
  License: GPL-3.0-or-later
@@ -257,6 +257,7 @@ generated, 'cause I'm lazy, list of those who've submitted PR's.
257
257
 
258
258
  ## Recent Changes
259
259
 
260
+ - [25-5-22] Trap possible ValueError exception in settings.py
260
261
  -[25-5-21] Fix crash from unsafe dict key access when processing F1-F12.
261
262
  - [25-5-6] Merged PR from @JG3LLB, Koji-Kawano, Adding code to stop sending morse if using rigctld to send, and @alduhoo adding more control to CW serial number padding.
262
263
 
@@ -116,9 +116,9 @@ not1mm/lib/n1mm.py,sha256=H54mpgJF0GAmKavM-nb5OAq2SJFWYkux4eMWWiSRxJc,6288
116
116
  not1mm/lib/new_contest.py,sha256=IznTDMq7yXHB6zBoGUEC_WDYPCPpsSZW4wwMJi16zK0,816
117
117
  not1mm/lib/plugin_common.py,sha256=D1OBjyLmX7zuSPqgTCmHwXzAKA12J_zTQItvyIem-4Y,13299
118
118
  not1mm/lib/select_contest.py,sha256=WsptLuwkouIHeocJL3oZ6-eUfEnhpwdc-x7eMZ_TIVM,359
119
- not1mm/lib/settings.py,sha256=wDatDIqgYmMIwMfH2j_1kG_kwsQdaE1JD9DbA2bgJkI,15746
119
+ not1mm/lib/settings.py,sha256=suvCQJavxNJ57b4utlfXhm6S3KozIVmkxQ2oryt_63E,15863
120
120
  not1mm/lib/super_check_partial.py,sha256=hwT2NRwobu0PLDyw6ltmbmcAtGBD02CKGFbgGWjXMqA,2334
121
- not1mm/lib/version.py,sha256=cEusnAI712uvpjIfg9JKZRBwu6YuQVQIdPRpxUNrdpc,48
121
+ not1mm/lib/version.py,sha256=lL7Gbn7olTN8EWC9moHKqYDvZ1aNj4fI9EoQ_pZmSKU,48
122
122
  not1mm/lib/versiontest.py,sha256=8vDNptuBBunn-1IGkjNaquehqBYUJyjrPSF8Igmd4_Y,1286
123
123
  not1mm/plugins/10_10_fall_cw.py,sha256=oJh3JKqjOpnWElSlZpiQ631UnaOd8qra5s9bl_QoInk,14783
124
124
  not1mm/plugins/10_10_spring_cw.py,sha256=p7dSDtbFK0e6Xouw2V6swYn3VFVgHKyx4IfRWyBjMZY,14786
@@ -180,9 +180,9 @@ not1mm/plugins/ukeidx.py,sha256=0ABGW7_9Ui0Rgr8mkPBxOJokAIerM1a4-HWnl6VsnV8,1910
180
180
  not1mm/plugins/vhf_sprint.py,sha256=a9QFTpv8XUbZ_GLjdVCh7svykFa-gXOWwKFZ6MD3uQM,19289
181
181
  not1mm/plugins/weekly_rtty.py,sha256=C8Xs3Q5UgSYx-mFFar8BVARWtmqlyrbeC98Ubzb4UN8,20128
182
182
  not1mm/plugins/winter_field_day.py,sha256=hmAMgkdqIXtnCNyUp8J9Bb8liN8wj10wps6ROuG-Bok,15284
183
- not1mm-25.5.21.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
184
- not1mm-25.5.21.dist-info/METADATA,sha256=dt8cK7ZVrXa5uJRRUmpouwqjr1Tgtmpddu54xWVKjxQ,40820
185
- not1mm-25.5.21.dist-info/WHEEL,sha256=zaaOINJESkSfm_4HQVc5ssNzHCPXhJm0kEUakpsEHaU,91
186
- not1mm-25.5.21.dist-info/entry_points.txt,sha256=pMcZk_0dxFgLkcUkF0Q874ojpwOmF3OL6EKw9LgvocM,47
187
- not1mm-25.5.21.dist-info/top_level.txt,sha256=0YmTxEcDzQlzXub-lXASvoLpg_mt1c2thb5cVkDf5J4,7
188
- not1mm-25.5.21.dist-info/RECORD,,
183
+ not1mm-25.5.22.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
184
+ not1mm-25.5.22.dist-info/METADATA,sha256=L0h2P4UrdnBLuv9f4h5cLIw4E-lMEwrInq5nEtzCizY,40882
185
+ not1mm-25.5.22.dist-info/WHEEL,sha256=zaaOINJESkSfm_4HQVc5ssNzHCPXhJm0kEUakpsEHaU,91
186
+ not1mm-25.5.22.dist-info/entry_points.txt,sha256=pMcZk_0dxFgLkcUkF0Q874ojpwOmF3OL6EKw9LgvocM,47
187
+ not1mm-25.5.22.dist-info/top_level.txt,sha256=0YmTxEcDzQlzXub-lXASvoLpg_mt1c2thb5cVkDf5J4,7
188
+ not1mm-25.5.22.dist-info/RECORD,,