not1mm 24.5.25__tar.gz → 24.6.1__tar.gz

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.
Files changed (158) hide show
  1. {not1mm-24.5.25 → not1mm-24.6.1}/PKG-INFO +2 -5
  2. {not1mm-24.5.25 → not1mm-24.6.1}/README.md +1 -4
  3. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/data/main.ui +25 -0
  4. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/lib/version.py +1 -1
  5. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/plugins/arrl_10m.py +2 -2
  6. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/plugins/arrl_ss_cw.py +2 -2
  7. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/plugins/arrl_ss_phone.py +2 -2
  8. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/plugins/arrl_vhf_jan.py +2 -2
  9. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/plugins/arrl_vhf_jun.py +2 -2
  10. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/plugins/arrl_vhf_sep.py +2 -2
  11. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/plugins/canada_day.py +2 -2
  12. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/plugins/cq_wpx_cw.py +2 -2
  13. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/plugins/cq_wpx_ssb.py +23 -19
  14. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/plugins/icwc_mst.py +2 -2
  15. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/plugins/jidx_cw.py +2 -2
  16. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/plugins/jidx_ph.py +2 -2
  17. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm.egg-info/PKG-INFO +2 -5
  18. {not1mm-24.5.25 → not1mm-24.6.1}/pyproject.toml +1 -1
  19. {not1mm-24.5.25 → not1mm-24.6.1}/LICENSE +0 -0
  20. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/__init__.py +0 -0
  21. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/__main__.py +2 -2
  22. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/bandmap.py +0 -0
  23. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/checkwindow.py +0 -0
  24. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/data/JetBrainsMono-Regular.ttf +0 -0
  25. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/data/MASTER.SCP +0 -0
  26. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/data/about.ui +0 -0
  27. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/data/alpha bravo charlie delta.txt +0 -0
  28. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/data/bandmap.ui +0 -0
  29. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/data/check.png +0 -0
  30. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/data/checkwindow.ui +0 -0
  31. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/data/configuration.ui +0 -0
  32. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/data/contests.sql +0 -0
  33. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/data/cty.json +0 -0
  34. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/data/cwmacros.txt +0 -0
  35. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/data/donors.html +0 -0
  36. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/data/editcontact.ui +0 -0
  37. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/data/editmacro.ui +0 -0
  38. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/data/greendot.png +0 -0
  39. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/data/k6gte-not1mm.desktop +0 -0
  40. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/data/k6gte.not1mm-128.png +0 -0
  41. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/data/k6gte.not1mm-32.png +0 -0
  42. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/data/k6gte.not1mm-64.png +0 -0
  43. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/data/logwindow.ui +0 -0
  44. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/data/logwindowx.ui +0 -0
  45. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/data/new_contest.ui +0 -0
  46. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/data/not1mm.html +0 -0
  47. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/data/opon.ui +0 -0
  48. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/data/phonetics/0.wav +0 -0
  49. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/data/phonetics/1.wav +0 -0
  50. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/data/phonetics/2.wav +0 -0
  51. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/data/phonetics/3.wav +0 -0
  52. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/data/phonetics/4.wav +0 -0
  53. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/data/phonetics/5.wav +0 -0
  54. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/data/phonetics/6.wav +0 -0
  55. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/data/phonetics/7.wav +0 -0
  56. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/data/phonetics/73.wav +0 -0
  57. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/data/phonetics/8.wav +0 -0
  58. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/data/phonetics/9.wav +0 -0
  59. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/data/phonetics/a.wav +0 -0
  60. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/data/phonetics/again.wav +0 -0
  61. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/data/phonetics/b.wav +0 -0
  62. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/data/phonetics/c.wav +0 -0
  63. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/data/phonetics/contest.wav +0 -0
  64. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/data/phonetics/cq.wav +0 -0
  65. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/data/phonetics/d.wav +0 -0
  66. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/data/phonetics/e.wav +0 -0
  67. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/data/phonetics/f.wav +0 -0
  68. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/data/phonetics/g.wav +0 -0
  69. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/data/phonetics/h.wav +0 -0
  70. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/data/phonetics/i.wav +0 -0
  71. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/data/phonetics/j.wav +0 -0
  72. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/data/phonetics/k.wav +0 -0
  73. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/data/phonetics/k6gte.wav +0 -0
  74. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/data/phonetics/l.wav +0 -0
  75. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/data/phonetics/m.wav +0 -0
  76. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/data/phonetics/mynumber.wav +0 -0
  77. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/data/phonetics/n.wav +0 -0
  78. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/data/phonetics/nil.wav +0 -0
  79. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/data/phonetics/o.wav +0 -0
  80. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/data/phonetics/p.wav +0 -0
  81. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/data/phonetics/q.wav +0 -0
  82. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/data/phonetics/r.wav +0 -0
  83. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/data/phonetics/roger.wav +0 -0
  84. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/data/phonetics/s.wav +0 -0
  85. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/data/phonetics/space.wav +0 -0
  86. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/data/phonetics/t.wav +0 -0
  87. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/data/phonetics/thankyou.wav +0 -0
  88. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/data/phonetics/thankyouqrz.wav +0 -0
  89. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/data/phonetics/u.wav +0 -0
  90. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/data/phonetics/v.wav +0 -0
  91. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/data/phonetics/w.wav +0 -0
  92. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/data/phonetics/x.wav +0 -0
  93. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/data/phonetics/y.wav +0 -0
  94. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/data/phonetics/yourcall.wav +0 -0
  95. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/data/phonetics/z.wav +0 -0
  96. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/data/pickcontest.ui +0 -0
  97. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/data/radio_green.png +0 -0
  98. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/data/radio_grey.png +0 -0
  99. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/data/radio_red.png +0 -0
  100. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/data/reddot.png +0 -0
  101. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/data/settings.ui +0 -0
  102. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/data/ssbmacros.txt +0 -0
  103. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/data/vfo.ui +0 -0
  104. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/fsutils.py +0 -0
  105. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/lib/__init__.py +0 -0
  106. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/lib/about.py +0 -0
  107. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/lib/cat_interface.py +0 -0
  108. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/lib/cwinterface.py +0 -0
  109. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/lib/database.py +0 -0
  110. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/lib/edit_contact.py +0 -0
  111. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/lib/edit_macro.py +0 -0
  112. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/lib/edit_opon.py +0 -0
  113. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/lib/edit_station.py +0 -0
  114. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/lib/ft8_watcher.py +0 -0
  115. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/lib/ham_utility.py +0 -0
  116. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/lib/lookup.py +0 -0
  117. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/lib/multicast.py +0 -0
  118. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/lib/n1mm.py +0 -0
  119. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/lib/new_contest.py +0 -0
  120. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/lib/playsound.py +0 -0
  121. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/lib/plugin_common.py +0 -0
  122. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/lib/select_contest.py +0 -0
  123. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/lib/settings.py +0 -0
  124. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/lib/super_check_partial.py +0 -0
  125. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/lib/versiontest.py +0 -0
  126. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/logwindow.py +0 -0
  127. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/playsoundtest.py +0 -0
  128. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/plugins/10_10_fall_cw.py +0 -0
  129. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/plugins/10_10_spring_cw.py +0 -0
  130. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/plugins/10_10_summer_phone.py +0 -0
  131. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/plugins/10_10_winter_phone.py +0 -0
  132. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/plugins/__init__.py +0 -0
  133. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/plugins/arrl_dx_cw.py +0 -0
  134. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/plugins/arrl_dx_ssb.py +0 -0
  135. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/plugins/arrl_field_day.py +0 -0
  136. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/plugins/arrl_rtty_ru.py +0 -0
  137. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/plugins/cq_160_cw.py +0 -0
  138. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/plugins/cq_160_ssb.py +0 -0
  139. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/plugins/cq_ww_cw.py +0 -0
  140. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/plugins/cq_ww_ssb.py +0 -0
  141. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/plugins/cwt.py +0 -0
  142. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/plugins/general_logging.py +0 -0
  143. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/plugins/iaru_hf.py +0 -0
  144. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/plugins/k1usn_sst.py +0 -0
  145. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/plugins/naqp_cw.py +0 -0
  146. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/plugins/naqp_ssb.py +0 -0
  147. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/plugins/phone_weekly_test.py +0 -0
  148. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/plugins/stew_perry_topband.py +0 -0
  149. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/plugins/winter_field_day.py +0 -0
  150. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/radio.py +0 -0
  151. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/vfo.py +0 -0
  152. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm/voice_keying.py +0 -0
  153. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm.egg-info/SOURCES.txt +0 -0
  154. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm.egg-info/dependency_links.txt +0 -0
  155. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm.egg-info/entry_points.txt +0 -0
  156. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm.egg-info/requires.txt +0 -0
  157. {not1mm-24.5.25 → not1mm-24.6.1}/not1mm.egg-info/top_level.txt +0 -0
  158. {not1mm-24.5.25 → not1mm-24.6.1}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: not1mm
3
- Version: 24.5.25
3
+ Version: 24.6.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
@@ -182,10 +182,7 @@ I wish to thank those who've contributed to the project.
182
182
 
183
183
  ## Recent Changes
184
184
 
185
- - [24-5-25] Fixed points calculation for CQ WW WPX.
186
- - [24-5-10] Add sanity check for VFO freq.
187
- - [24-5-9] Add ICWC MST.
188
- - [24-5-1] Moved the voice keying into it's own thread.
185
+ - [24-6-1] Added leading zeros to S/N's less than 100.
189
186
 
190
187
  See [CHANGELOG.md](CHANGELOG.md) for prior changes.
191
188
 
@@ -150,10 +150,7 @@ I wish to thank those who've contributed to the project.
150
150
 
151
151
  ## Recent Changes
152
152
 
153
- - [24-5-25] Fixed points calculation for CQ WW WPX.
154
- - [24-5-10] Add sanity check for VFO freq.
155
- - [24-5-9] Add ICWC MST.
156
- - [24-5-1] Moved the voice keying into it's own thread.
153
+ - [24-6-1] Added leading zeros to S/N's less than 100.
157
154
 
158
155
  See [CHANGELOG.md](CHANGELOG.md) for prior changes.
159
156
 
@@ -1741,6 +1741,11 @@
1741
1741
  <property name="text">
1742
1742
  <string>HotKeys</string>
1743
1743
  </property>
1744
+ <property name="font">
1745
+ <font>
1746
+ <family>JetBrains Mono</family>
1747
+ </font>
1748
+ </property>
1744
1749
  </action>
1745
1750
  <action name="actionUpdate_MASTER_SCP">
1746
1751
  <property name="text">
@@ -1751,6 +1756,11 @@
1751
1756
  <property name="text">
1752
1757
  <string>Help</string>
1753
1758
  </property>
1759
+ <property name="font">
1760
+ <font>
1761
+ <family>JetBrains Mono</family>
1762
+ </font>
1763
+ </property>
1754
1764
  </action>
1755
1765
  <action name="actionUpdate_CTY">
1756
1766
  <property name="text">
@@ -1764,6 +1774,11 @@
1764
1774
  <property name="text">
1765
1775
  <string>Check Partial</string>
1766
1776
  </property>
1777
+ <property name="font">
1778
+ <font>
1779
+ <family>JetBrains Mono</family>
1780
+ </font>
1781
+ </property>
1767
1782
  </action>
1768
1783
  <action name="actionVFO">
1769
1784
  <property name="checkable">
@@ -1772,6 +1787,11 @@
1772
1787
  <property name="text">
1773
1788
  <string>VFO</string>
1774
1789
  </property>
1790
+ <property name="font">
1791
+ <font>
1792
+ <family>JetBrains Mono</family>
1793
+ </font>
1794
+ </property>
1775
1795
  </action>
1776
1796
  <action name="actionDark_Mode_2">
1777
1797
  <property name="checkable">
@@ -1780,6 +1800,11 @@
1780
1800
  <property name="text">
1781
1801
  <string>Dark Mode</string>
1782
1802
  </property>
1803
+ <property name="font">
1804
+ <font>
1805
+ <family>JetBrains Mono</family>
1806
+ </font>
1807
+ </property>
1783
1808
  </action>
1784
1809
  </widget>
1785
1810
  <resources/>
@@ -1,3 +1,3 @@
1
1
  """It's the version"""
2
2
 
3
- __version__ = "24.5.25"
3
+ __version__ = "24.6.1"
@@ -167,9 +167,9 @@ def predupe(self):
167
167
  def prefill(self):
168
168
  """Fill sentnr"""
169
169
  result = self.database.get_serial()
170
- serial_nr = str(result.get("serial_nr", "1"))
170
+ serial_nr = str(result.get("serial_nr", "1")).zfill(3)
171
171
  if serial_nr == "None":
172
- serial_nr = "1"
172
+ serial_nr = "001"
173
173
 
174
174
  exchange = self.contest_settings.get("SentExchange", "").replace("#", serial_nr)
175
175
  field = self.field3.findChild(QtWidgets.QLineEdit)
@@ -126,9 +126,9 @@ def predupe(self):
126
126
  def prefill(self):
127
127
  """Fill SentNR"""
128
128
  result = self.database.get_serial()
129
- serial_nr = str(result.get("serial_nr", "1"))
129
+ serial_nr = str(result.get("serial_nr", "1")).zfill(3)
130
130
  if serial_nr == "None":
131
- serial_nr = "1"
131
+ serial_nr = "001"
132
132
  field = self.field3.findChild(QtWidgets.QLineEdit)
133
133
  if len(field.text()) == 0:
134
134
  field.setText(serial_nr)
@@ -126,9 +126,9 @@ def predupe(self):
126
126
  def prefill(self):
127
127
  """Fill SentNR"""
128
128
  result = self.database.get_serial()
129
- serial_nr = str(result.get("serial_nr", "1"))
129
+ serial_nr = str(result.get("serial_nr", "1")).zfill(3)
130
130
  if serial_nr == "None":
131
- serial_nr = "1"
131
+ serial_nr = "001"
132
132
  field = self.field3.findChild(QtWidgets.QLineEdit)
133
133
  if len(field.text()) == 0:
134
134
  field.setText(serial_nr)
@@ -156,9 +156,9 @@ def predupe(self):
156
156
  def prefill(self):
157
157
  """Fill sentnr"""
158
158
  result = self.database.get_serial()
159
- serial_nr = str(result.get("serial_nr", "1"))
159
+ serial_nr = str(result.get("serial_nr", "1")).zfill(3)
160
160
  if serial_nr == "None":
161
- serial_nr = "1"
161
+ serial_nr = "001"
162
162
 
163
163
  exchange = self.contest_settings.get("SentExchange", "").replace("#", serial_nr)
164
164
  field = self.field3.findChild(QtWidgets.QLineEdit)
@@ -124,9 +124,9 @@ def predupe(self):
124
124
  def prefill(self):
125
125
  """Fill sentnr"""
126
126
  result = self.database.get_serial()
127
- serial_nr = str(result.get("serial_nr", "1"))
127
+ serial_nr = str(result.get("serial_nr", "1")).zfill(3)
128
128
  if serial_nr == "None":
129
- serial_nr = "1"
129
+ serial_nr = "001"
130
130
 
131
131
  exchange = self.contest_settings.get("SentExchange", "").replace("#", serial_nr)
132
132
  field = self.field3.findChild(QtWidgets.QLineEdit)
@@ -124,9 +124,9 @@ def predupe(self):
124
124
  def prefill(self):
125
125
  """Fill sentnr"""
126
126
  result = self.database.get_serial()
127
- serial_nr = str(result.get("serial_nr", "1"))
127
+ serial_nr = str(result.get("serial_nr", "1")).zfill(3)
128
128
  if serial_nr == "None":
129
- serial_nr = "1"
129
+ serial_nr = "001"
130
130
 
131
131
  exchange = self.contest_settings.get("SentExchange", "").replace("#", serial_nr)
132
132
  field = self.field3.findChild(QtWidgets.QLineEdit)
@@ -155,9 +155,9 @@ def prefill(self):
155
155
  # self.other_2.setText(str(self.contact.get("ZN", "")))
156
156
 
157
157
  result = self.database.get_serial()
158
- serial_nr = str(result.get("serial_nr", "1"))
158
+ serial_nr = str(result.get("serial_nr", "1")).zfill(3)
159
159
  if serial_nr == "None":
160
- serial_nr = "1"
160
+ serial_nr = "001"
161
161
 
162
162
  exchange = self.contest_settings.get("SentExchange", "").replace("#", serial_nr)
163
163
  field = self.field3.findChild(QtWidgets.QLineEdit)
@@ -157,9 +157,9 @@ def predupe(self): # pylint: disable=unused-argument
157
157
  def prefill(self):
158
158
  """Fill SentNR"""
159
159
  result = self.database.get_serial()
160
- serial_nr = str(result.get("serial_nr", "1"))
160
+ serial_nr = str(result.get("serial_nr", "1")).zfill(3)
161
161
  if serial_nr == "None":
162
- serial_nr = "1"
162
+ serial_nr = "001"
163
163
  field = self.field3.findChild(QtWidgets.QLineEdit)
164
164
  if len(field.text()) == 0:
165
165
  field.setText(serial_nr)
@@ -122,9 +122,9 @@ def predupe(self): # pylint: disable=unused-argument
122
122
  def prefill(self):
123
123
  """Fill SentNR"""
124
124
  result = self.database.get_serial()
125
- serial_nr = str(result.get("serial_nr", "1"))
125
+ serial_nr = str(result.get("serial_nr", "1")).zfill(3)
126
126
  if serial_nr == "None":
127
- serial_nr = "1"
127
+ serial_nr = "001"
128
128
  field = self.field3.findChild(QtWidgets.QLineEdit)
129
129
  if len(field.text()) == 0:
130
130
  field.setText(serial_nr)
@@ -135,35 +135,39 @@ def points(self):
135
135
  result = self.cty_lookup(self.station.get("Call", ""))
136
136
  if result:
137
137
  for item in result.items():
138
- mycountry = item[1].get("entity", "")
139
- mycontinent = item[1].get("continent", "")
138
+ my_country = item[1].get("entity", "")
139
+ my_continent = item[1].get("continent", "")
140
140
  result = self.cty_lookup(self.contact.get("Call", ""))
141
141
  band = int(int(float(self.contact.get("Freq", 0))) / 1000)
142
142
  if result:
143
143
  for item in result.items():
144
- entity = item[1].get("entity", "")
145
- continent = item[1].get("continent", "")
144
+ their_country = item[1].get("entity", "")
145
+ their_continent = item[1].get("continent", "")
146
146
 
147
- # If both are in North America
148
- if mycontinent == "NA" and continent == "NA":
147
+ # Different Continent
148
+ if my_continent != their_continent:
149
149
  if band in [28, 21, 14]:
150
- return 2
151
- return 4
150
+ return 3
151
+ return 6
152
152
 
153
- # Not NA, Both in same country
154
- if mycountry.upper() == entity.upper():
153
+ # Both in same country
154
+ if my_country.upper() == their_country.upper():
155
155
  return 1
156
156
 
157
- # Same Continent
158
- if mycontinent == continent:
157
+ # Below Same Continent Different Country
158
+
159
+ # If in North America
160
+ if my_continent == "NA":
161
+ if band in [28, 21, 14]:
162
+ return 2
163
+ return 4
164
+
165
+ # Non NA
166
+ if my_continent != "NA":
159
167
  if band in [28, 21, 14]:
160
168
  return 1
161
169
  return 2
162
-
163
- # Different Continent
164
- if band in [28, 21, 14]:
165
- return 3
166
- return 6
170
+ # Something wrong
167
171
  return 0
168
172
 
169
173
 
@@ -138,9 +138,9 @@ def predupe(self): # pylint: disable=unused-argument
138
138
  def prefill(self):
139
139
  """Fill SentNR"""
140
140
  result = self.database.get_serial()
141
- serial_nr = str(result.get("serial_nr", "1"))
141
+ serial_nr = str(result.get("serial_nr", "1")).zfill(3)
142
142
  if serial_nr == "None":
143
- serial_nr = "1"
143
+ serial_nr = "001"
144
144
  field = self.sent
145
145
  if len(field.text()) == 0:
146
146
  field.setText(serial_nr)
@@ -152,9 +152,9 @@ def prefill(self):
152
152
  SentExchange = self.contest_settings.get("SentExchange", "")
153
153
  if "#" in SentExchange:
154
154
  result = self.database.get_serial()
155
- serial_nr = str(result.get("serial_nr", "1"))
155
+ serial_nr = str(result.get("serial_nr", "1")).zfill(3)
156
156
  if serial_nr == "None":
157
- serial_nr = "1"
157
+ serial_nr = "001"
158
158
  SentExchange.replace("#", str(serial_nr))
159
159
 
160
160
  field = self.field3.findChild(QtWidgets.QLineEdit)
@@ -123,9 +123,9 @@ def prefill(self):
123
123
  SentExchange = self.contest_settings.get("SentExchange", "")
124
124
  if "#" in SentExchange:
125
125
  result = self.database.get_serial()
126
- serial_nr = str(result.get("serial_nr", "1"))
126
+ serial_nr = str(result.get("serial_nr", "1")).zfill(3)
127
127
  if serial_nr == "None":
128
- serial_nr = "1"
128
+ serial_nr = "001"
129
129
  SentExchange.replace("#", str(serial_nr))
130
130
 
131
131
  field = self.field3.findChild(QtWidgets.QLineEdit)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: not1mm
3
- Version: 24.5.25
3
+ Version: 24.6.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
@@ -182,10 +182,7 @@ I wish to thank those who've contributed to the project.
182
182
 
183
183
  ## Recent Changes
184
184
 
185
- - [24-5-25] Fixed points calculation for CQ WW WPX.
186
- - [24-5-10] Add sanity check for VFO freq.
187
- - [24-5-9] Add ICWC MST.
188
- - [24-5-1] Moved the voice keying into it's own thread.
185
+ - [24-6-1] Added leading zeros to S/N's less than 100.
189
186
 
190
187
  See [CHANGELOG.md](CHANGELOG.md) for prior changes.
191
188
 
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "not1mm"
7
- version = "24.5.25"
7
+ version = "24.6.1"
8
8
  description = "NOT1MM Logger"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.9"
File without changes
File without changes
@@ -510,12 +510,12 @@ class MainWindow(QtWidgets.QMainWindow):
510
510
  self.current_op = self.station.get("Call", "")
511
511
  self.voice_process.current_op = self.current_op
512
512
  self.make_op_dir()
513
- self.read_cw_macros()
513
+
514
514
  self.clearinputs()
515
515
 
516
516
  if self.pref.get("contest"):
517
517
  self.load_contest()
518
-
518
+ self.read_cw_macros()
519
519
  self.actionLog_Window.setChecked(self.pref.get("logwindow", False))
520
520
  if self.log_window:
521
521
  self.log_window.close()
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes