not1mm 24.7.29__py3-none-any.whl → 24.7.31__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
@@ -2233,14 +2233,22 @@ class MainWindow(QtWidgets.QMainWindow):
2233
2233
  if next_serial == "None":
2234
2234
  next_serial = "1"
2235
2235
  macro = macro.upper()
2236
- macro = macro.replace("#", next_serial)
2236
+ if self.radio_state.get("mode") == "CW":
2237
+ macro = macro.replace("#", next_serial.rjust(3, "T"))
2238
+ else:
2239
+ macro = macro.replace("#", next_serial)
2237
2240
  macro = macro.replace("{MYCALL}", self.station.get("Call", ""))
2238
2241
  macro = macro.replace("{HISCALL}", self.callsign.text())
2239
2242
  if self.radio_state.get("mode") == "CW":
2240
2243
  macro = macro.replace("{SNT}", self.sent.text().replace("9", "n"))
2241
2244
  else:
2242
2245
  macro = macro.replace("{SNT}", self.sent.text())
2243
- macro = macro.replace("{SENTNR}", self.other_1.text())
2246
+ if self.radio_state.get("mode") == "CW":
2247
+ macro = macro.replace(
2248
+ "{SENTNR}", self.other_1.text().lstrip("0").rjust(3, "T")
2249
+ )
2250
+ else:
2251
+ macro = macro.replace("{SENTNR}", self.other_1.text())
2244
2252
  macro = macro.replace(
2245
2253
  "{EXCH}", self.contest_settings.get("SentExchange", "xxx")
2246
2254
  )
not1mm/lib/version.py CHANGED
@@ -1,4 +1,4 @@
1
1
  """It's the version"""
2
2
 
3
- __version__ = "24.7.29"
3
+ __version__ = "24.7.31"
4
4
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: not1mm
3
- Version: 24.7.29
3
+ Version: 24.7.31
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
@@ -223,6 +223,7 @@ generated, 'cause I'm lazy, list of those who've submitted PR's.
223
223
 
224
224
  ## Recent Changes
225
225
 
226
+ - [24-7-31] Serial number leading Zeros sent as T in CW.
226
227
  - [24-7-29] Add flrig cw speed change via onscreen widget.
227
228
  - [24-7-28] Second try at flrig CW.
228
229
  - [24-7-25-1] Have VFO dock widget handle disconnect/reconnect events of the USB VFO knob more gracefully.
@@ -1,5 +1,5 @@
1
1
  not1mm/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- not1mm/__main__.py,sha256=-zzE1QUDpuVKwgWJeoEPJ7ceCCvx0YLBISw24xQJgs4,121481
2
+ not1mm/__main__.py,sha256=pMPULQlE3HkWvafftG66YBaFUpCVLyfvwe9t1CCFdrE,121804
3
3
  not1mm/bandmap.py,sha256=Ml5DDoybk_I56q2WLYDKE4lfmh6pb9XxW0qpl5nDFYY,32161
4
4
  not1mm/checkwindow.py,sha256=zHxkCQ4BJ-pN80dSTQdiKq8RqY4oWzJveXZhQ2bu3PY,10436
5
5
  not1mm/fsutils.py,sha256=ukHKxKTeNKxKwqRaJjtzRShL4X5Xl0jRBbADyy3Ifp8,1701
@@ -109,7 +109,7 @@ not1mm/lib/plugin_common.py,sha256=AAKBPCXzTWZJb-h08uPNnHVG7bSCg7kwukc211gFivY,8
109
109
  not1mm/lib/select_contest.py,sha256=WsptLuwkouIHeocJL3oZ6-eUfEnhpwdc-x7eMZ_TIVM,359
110
110
  not1mm/lib/settings.py,sha256=MWiKXbasaFbzeHTjfzTaTqbCBrIijudP_-0a5jNmUAA,9265
111
111
  not1mm/lib/super_check_partial.py,sha256=p5l3u2ZOCBtlWgbvskC50FpuoaIpR07tfC6zTdRWbh4,2334
112
- not1mm/lib/version.py,sha256=BMpTloYgDxnJAW_gTC-FRCBOqBhNTglZbFeS_OdpJiQ,49
112
+ not1mm/lib/version.py,sha256=v1Du4KErN7-rIOcaV1iI1R8QnGFaZJPhWvwwSy73_eA,49
113
113
  not1mm/lib/versiontest.py,sha256=8vDNptuBBunn-1IGkjNaquehqBYUJyjrPSF8Igmd4_Y,1286
114
114
  not1mm/plugins/10_10_fall_cw.py,sha256=IttjX1yy4nDdACGsiYlPteFG8eVseX_WtoFio6bqHE8,10953
115
115
  not1mm/plugins/10_10_spring_cw.py,sha256=ThCptdM3dX4ywhoy2JRcOEyHSqcJolFaT7O_PYzM1Mg,10958
@@ -145,9 +145,9 @@ not1mm/plugins/naqp_ssb.py,sha256=VLWVrSzI0UP1AhSXYn61eZ7or1rz6a_pS_xCKfgS4Jw,11
145
145
  not1mm/plugins/phone_weekly_test.py,sha256=fLpMe03WB9_KgRl6vMgQQt_aktFdqfNt2Sw81CTRAUs,12325
146
146
  not1mm/plugins/stew_perry_topband.py,sha256=CKBQbYl4ETxhXJd2dma4fg_C5pag_s7Nf61SCztZtqE,10668
147
147
  not1mm/plugins/winter_field_day.py,sha256=4rcfRtobwjHO6BNL3WOTHzBmyyeuX79BNGBG8PfjrI8,10238
148
- not1mm-24.7.29.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
149
- not1mm-24.7.29.dist-info/METADATA,sha256=gxO9nKYQuDwbFIRsySM-8YZydIx54Nn5gF8W8UUhUAY,29506
150
- not1mm-24.7.29.dist-info/WHEEL,sha256=R0nc6qTxuoLk7ShA2_Y-UWkN8ZdfDBG2B6Eqpz2WXbs,91
151
- not1mm-24.7.29.dist-info/entry_points.txt,sha256=pMcZk_0dxFgLkcUkF0Q874ojpwOmF3OL6EKw9LgvocM,47
152
- not1mm-24.7.29.dist-info/top_level.txt,sha256=0YmTxEcDzQlzXub-lXASvoLpg_mt1c2thb5cVkDf5J4,7
153
- not1mm-24.7.29.dist-info/RECORD,,
148
+ not1mm-24.7.31.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
149
+ not1mm-24.7.31.dist-info/METADATA,sha256=JZDYYOTLJH_Q4--hhdKxo4dmNutDcPZGoOQP8wD6Ibg,29563
150
+ not1mm-24.7.31.dist-info/WHEEL,sha256=R0nc6qTxuoLk7ShA2_Y-UWkN8ZdfDBG2B6Eqpz2WXbs,91
151
+ not1mm-24.7.31.dist-info/entry_points.txt,sha256=pMcZk_0dxFgLkcUkF0Q874ojpwOmF3OL6EKw9LgvocM,47
152
+ not1mm-24.7.31.dist-info/top_level.txt,sha256=0YmTxEcDzQlzXub-lXASvoLpg_mt1c2thb5cVkDf5J4,7
153
+ not1mm-24.7.31.dist-info/RECORD,,