not1mm 24.11.24.1__py3-none-any.whl → 24.11.25__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.
@@ -337,7 +337,8 @@ class CAT:
337
337
  self.rigctrlsocket.send(b"m\n")
338
338
  mode = self.__get_serial_string()
339
339
  mode = mode.strip().split()[0]
340
- # logger.debug("%s", mode)
340
+ if mode == "RPRT":
341
+ return ""
341
342
  return mode
342
343
  except IndexError as exception:
343
344
  logger.debug("%s", f"{exception}")
not1mm/lib/version.py CHANGED
@@ -1,3 +1,3 @@
1
1
  """It's the version"""
2
2
 
3
- __version__ = "24.11.24.1"
3
+ __version__ = "24.11.25"
@@ -154,17 +154,26 @@ def points(self):
154
154
  mycountry = item[1].get("entity", "")
155
155
  mycontinent = item[1].get("continent", "")
156
156
  result = self.cty_lookup(self.contact.get("Call", ""))
157
+
157
158
  if result:
158
159
  for item in result.items():
159
160
  entity = item[1].get("entity", "")
160
161
  continent = item[1].get("continent", "")
161
- if mycountry.upper() == entity.upper():
162
- return 0
163
- if mycontinent and continent == "NA":
162
+
163
+ # Contacts between stations on different continents count three (3) points.
164
+ if mycontinent != continent:
165
+ return 3
166
+
167
+ # Exception: Contacts between stations in different countries within the North American boundaries count two (2) points.
168
+ if (mycontinent == "NA" and continent == "NA") and mycountry != entity:
164
169
  return 2
165
- if mycontinent == continent:
170
+
171
+ # Contacts between stations on the same continent but in different countries count one (1) point.
172
+ if mycountry.upper() != entity.upper():
166
173
  return 1
167
- return 3
174
+
175
+ # Contacts between stations in the same country have zero (0) QSO point value, but count for zone and country multiplier credit.
176
+
168
177
  return 0
169
178
 
170
179
 
@@ -149,13 +149,21 @@ def points(self):
149
149
  for item in result.items():
150
150
  entity = item[1].get("entity", "")
151
151
  continent = item[1].get("continent", "")
152
- if mycountry.upper() == entity.upper():
153
- return 0
154
- if mycontinent and continent == "NA":
152
+
153
+ # Contacts between stations on different continents count three (3) points.
154
+ if mycontinent != continent:
155
+ return 3
156
+
157
+ # Exception: Contacts between stations in different countries within the North American boundaries count two (2) points.
158
+ if (mycontinent == "NA" and continent == "NA") and mycountry != entity:
155
159
  return 2
156
- if mycontinent == continent:
160
+
161
+ # Contacts between stations on the same continent but in different countries count one (1) point.
162
+ if mycountry.upper() != entity.upper():
157
163
  return 1
158
- return 3
164
+
165
+ # Contacts between stations in the same country have zero (0) QSO point value, but count for zone and country multiplier credit.
166
+
159
167
  return 0
160
168
 
161
169
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: not1mm
3
- Version: 24.11.24.1
3
+ Version: 24.11.25
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
@@ -238,6 +238,7 @@ generated, 'cause I'm lazy, list of those who've submitted PR's.
238
238
 
239
239
  ## Recent Changes (Polishing the Turd)
240
240
 
241
+ - [24-22-15] Fix CQWW points, fix mode showing as RPRT.
241
242
  - [24-11-24-1] Add ESM to CQ160, ARRL VHF, ARRL 10M, 10 10 contests.
242
243
  - [24-11-24] Added ESM to IARU HF and FieldDay.
243
244
  - [24-11-23] Made macros per contest.
@@ -95,7 +95,7 @@ not1mm/data/phonetics/yourcall.wav,sha256=4kheHJmCiRDL2kjhlgXQ8_u_eEMgKxiNGu5UBk
95
95
  not1mm/data/phonetics/z.wav,sha256=arafCi7fwmBLdVDI-PRyaL4U-03PIQDhffwY5noJ_2c,51768
96
96
  not1mm/lib/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
97
97
  not1mm/lib/about.py,sha256=sWycfGcruN3SaEe4JmaJ61K6D8Itq0WxpUYT-lEcmYM,416
98
- not1mm/lib/cat_interface.py,sha256=-RGssRLL8_iuf6hPAsQZ9itoDISTx0XT-nD3jJ4LKss,24475
98
+ not1mm/lib/cat_interface.py,sha256=6E53PPsqjc22vWqcDG3PfsnP_n9-WyG25Vkb8KC7psY,24497
99
99
  not1mm/lib/cwinterface.py,sha256=yQL8Dif9oOIynaRItHgvcmu4mYv1TnTpqCHPtkeb09o,4472
100
100
  not1mm/lib/database.py,sha256=nqWp2eJ7JfUTqaQ9AVbx3XjgtlRnYY9ruTQCv2YRreY,48310
101
101
  not1mm/lib/edit_contact.py,sha256=Ki9bGPpqyQQBB1cU8VIBDCal3lbXeQ6qxhzklmhE2_w,353
@@ -114,7 +114,7 @@ not1mm/lib/plugin_common.py,sha256=AABdx9DoTT8Znrup7AkfmKGC22hshMsEypiMqV0iKw0,1
114
114
  not1mm/lib/select_contest.py,sha256=WsptLuwkouIHeocJL3oZ6-eUfEnhpwdc-x7eMZ_TIVM,359
115
115
  not1mm/lib/settings.py,sha256=Xt0WE2ro_kUYdugQ0Pe1SQX07MHrJ0jyQqDqAKKqxuU,13564
116
116
  not1mm/lib/super_check_partial.py,sha256=hwT2NRwobu0PLDyw6ltmbmcAtGBD02CKGFbgGWjXMqA,2334
117
- not1mm/lib/version.py,sha256=uBO1Roo-PFKigitnWdUnKJL8D3eTKW67UwefYD28x7I,51
117
+ not1mm/lib/version.py,sha256=Dc_v3mS01fH1TssznBBxO-9xONCDipbQqvRIc0V11a4,49
118
118
  not1mm/lib/versiontest.py,sha256=8vDNptuBBunn-1IGkjNaquehqBYUJyjrPSF8Igmd4_Y,1286
119
119
  not1mm/plugins/10_10_fall_cw.py,sha256=AsvB2VUd6Qb2_FzZkSBkSd1_qeP8Dt-B-exF1Pzb9tk,14469
120
120
  not1mm/plugins/10_10_spring_cw.py,sha256=nA4v0oqlp-ivvKqNPakb19I-wE_ElhvH5bCzDRx00JU,14474
@@ -137,9 +137,9 @@ not1mm/plugins/cq_160_ssb.py,sha256=_0bkvq0KvSdyTBhkqJ35VqXuaWIaDNmBGE1aQ-cxQz8,
137
137
  not1mm/plugins/cq_wpx_cw.py,sha256=H1H4xL-hx0sqU_8fSQYnNzO0ZcOLV-KSOQT9wPvIva0,17843
138
138
  not1mm/plugins/cq_wpx_rtty.py,sha256=nT2lMdAM1pRu2jNKI4FpkGei9kEGX0XcF_24FkL0lnY,20662
139
139
  not1mm/plugins/cq_wpx_ssb.py,sha256=Zjga12w_ISh4aZjCYZbpwN0x0032Prc8p7aIGI7HJFQ,16410
140
- not1mm/plugins/cq_ww_cw.py,sha256=SAneVRI1UXhC8syYlFwLWH9mCWvQ44Nxhf0jhbMTaw0,17402
140
+ not1mm/plugins/cq_ww_cw.py,sha256=POh_H6FlZrFeayt4x0aGn-xytcPZ_Ww8w8mFStoLyOE,17893
141
141
  not1mm/plugins/cq_ww_rtty.py,sha256=Pfpr8xWJwp2NOci-WQMTUZaMpAtsUGq1jrIIUv6lQ2Y,21971
142
- not1mm/plugins/cq_ww_ssb.py,sha256=2zhIbqthXLekQhK22icOScegm6kYZLbmpPMZYEmIM5I,17001
142
+ not1mm/plugins/cq_ww_ssb.py,sha256=IyPmEImq_eb5YSFuhHxiJU4EFAPB4D5dg2xED6Nu97k,17491
143
143
  not1mm/plugins/cwt.py,sha256=3gA1DqiXxj5NARdG5i0PyFmuq3XSXn6LisZxD5jFs4M,17034
144
144
  not1mm/plugins/darc_xmas.py,sha256=GdtAQVCLogKGzZaexJfzsZms5SbLLlO1YweFPjgvYWw,18458
145
145
  not1mm/plugins/general_logging.py,sha256=NV_FCgpAEEQrVRxMDD7nQ2krJgPrhtopizxrGndtUNk,6686
@@ -162,9 +162,9 @@ not1mm/plugins/ref_ssb.py,sha256=G2Gz4kApchmOZQVnBexEokSEvdb-mZWJAfyJ1D6JDGY,204
162
162
  not1mm/plugins/stew_perry_topband.py,sha256=Gy_vv6tgkR-3vmvsUVO0pVfHMkUJSxpt7G4secn0RH8,15084
163
163
  not1mm/plugins/weekly_rtty.py,sha256=PI0_AtEdZZKGAuKnP-b2EYn9xwCN1Ablk38trbNP3Rc,19603
164
164
  not1mm/plugins/winter_field_day.py,sha256=9w3tDL9ZWiENSTERc3vzDbBktvI7pnyNvlH6fDjAi08,14841
165
- not1mm-24.11.24.1.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
166
- not1mm-24.11.24.1.dist-info/METADATA,sha256=T3IWvMbJdNfDupnG8GamPM_W7zCSfHo_z2dzcuONA1E,36616
167
- not1mm-24.11.24.1.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
168
- not1mm-24.11.24.1.dist-info/entry_points.txt,sha256=pMcZk_0dxFgLkcUkF0Q874ojpwOmF3OL6EKw9LgvocM,47
169
- not1mm-24.11.24.1.dist-info/top_level.txt,sha256=0YmTxEcDzQlzXub-lXASvoLpg_mt1c2thb5cVkDf5J4,7
170
- not1mm-24.11.24.1.dist-info/RECORD,,
165
+ not1mm-24.11.25.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
166
+ not1mm-24.11.25.dist-info/METADATA,sha256=5vMpo5afhM4SNnF92puhbeGXbZ2SnNIhWF9GonT7Vd4,36670
167
+ not1mm-24.11.25.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
168
+ not1mm-24.11.25.dist-info/entry_points.txt,sha256=pMcZk_0dxFgLkcUkF0Q874ojpwOmF3OL6EKw9LgvocM,47
169
+ not1mm-24.11.25.dist-info/top_level.txt,sha256=0YmTxEcDzQlzXub-lXASvoLpg_mt1c2thb5cVkDf5J4,7
170
+ not1mm-24.11.25.dist-info/RECORD,,