not1mm 25.6.11.1__py3-none-any.whl → 25.6.12__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
@@ -1250,18 +1250,19 @@ class MainWindow(QtWidgets.QMainWindow):
1250
1250
  elif name:
1251
1251
  self.other_1.setText(name)
1252
1252
 
1253
- if grid:
1253
+ if isinstance(grid, str) and len(grid) > 0:
1254
1254
  self.contact["GridSquare"] = grid
1255
- # _theircountry = response.get("country", "")
1256
- if self.station.get("GridSquare", ""):
1257
- heading = bearing(self.station.get("GridSquare", ""), grid)
1258
- kilometers = distance(self.station.get("GridSquare", ""), grid)
1259
- self.heading_distance.setText(
1260
- f"{grid} Hdg {heading}° LP {reciprocol(heading)}° / "
1261
- f"distance {int(kilometers*0.621371)}mi {kilometers}km"
1262
- f" {msg.get('result', {}).get('name_fmt', '')}"
1263
- )
1264
- self.rotator_window.set_requested_azimuth(float(heading))
1255
+ if self.station.get("GridSquare", ""):
1256
+ heading = bearing(self.station.get("GridSquare", ""), grid)
1257
+ kilometers = distance(
1258
+ self.station.get("GridSquare", ""), grid
1259
+ )
1260
+ self.heading_distance.setText(
1261
+ f"{grid} Hdg {heading}° LP {reciprocol(heading)}° / "
1262
+ f"distance {int(kilometers*0.621371)}mi {kilometers}km"
1263
+ f" {msg.get('result', {}).get('name_fmt', '')}"
1264
+ )
1265
+ self.rotator_window.set_requested_azimuth(float(heading))
1265
1266
 
1266
1267
  def cluster_expire_updated(self, number):
1267
1268
  """signal from bandmap"""
not1mm/lib/version.py CHANGED
@@ -1,3 +1,3 @@
1
1
  """It's the version"""
2
2
 
3
- __version__ = "25.6.11.1"
3
+ __version__ = "25.6.12"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: not1mm
3
- Version: 25.6.11.1
3
+ Version: 25.6.12
4
4
  Summary: NOT1MM Logger
5
5
  Author-email: Michael Bridak <michael.bridak@gmail.com>
6
6
  License: GPL-3.0-or-later
@@ -246,6 +246,7 @@ generated, 'cause I'm lazy, list of those who've submitted PR's.
246
246
 
247
247
  ## Recent Changes
248
248
 
249
+ - [25-6-12] Account for no gridsquare being returned from lookup service.
249
250
  - [25-6-11] Added a rotator control widget.
250
251
  - [25-6-10] Merged PR from @dj1yfk correcting WPX prefix calculation.
251
252
  - [25-6-8] Revmoved SQLite WAL mode.
@@ -1,5 +1,5 @@
1
1
  not1mm/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- not1mm/__main__.py,sha256=MYfdudrNuWI_EqNQK3lrFEP-1WQv8pUyJI4Ul6LFY1M,174761
2
+ not1mm/__main__.py,sha256=72QOcq9Hu20_897i3Vpk2ezuq8evjLDJhbEbZQVhAsw,174828
3
3
  not1mm/bandmap.py,sha256=0JmZ32UvkaPjXs2xTgowX1GLvZo5zHU_Zo9y_GL-On4,31139
4
4
  not1mm/checkwindow.py,sha256=zEHlw40j6Wr3rvKbCQf2lcezCoiZqaBqEvBjQU5aKW0,7630
5
5
  not1mm/dxcc_tracker.py,sha256=LUTt538mBjOr590WMby-hmRz47XG8xUCkU2x0j4oB4w,4306
@@ -126,7 +126,7 @@ not1mm/lib/rot_interface.py,sha256=kGhpRsxPa6MYDaHd7gLJfzgsJKiJ-qHyx8tJ2tWwwlk,3
126
126
  not1mm/lib/select_contest.py,sha256=WsptLuwkouIHeocJL3oZ6-eUfEnhpwdc-x7eMZ_TIVM,359
127
127
  not1mm/lib/settings.py,sha256=5xnsagH48qGeCDhfxPWW9yaXtv8wT13yoIVvYt8h_Qs,16023
128
128
  not1mm/lib/super_check_partial.py,sha256=jX7DjHesEV4KNVQbddJui0wAsYHerikH7W0iPv7PXQw,3110
129
- not1mm/lib/version.py,sha256=gFvmA0SCQlEBGGGX5yLybz7A77WPaHb3AItzX4Lv2ck,50
129
+ not1mm/lib/version.py,sha256=FOEOU2uNUEV5bJamF0b6Dxgv5dxKso-77okuXfp8vGs,48
130
130
  not1mm/lib/versiontest.py,sha256=8vDNptuBBunn-1IGkjNaquehqBYUJyjrPSF8Igmd4_Y,1286
131
131
  not1mm/plugins/10_10_fall_cw.py,sha256=oJh3JKqjOpnWElSlZpiQ631UnaOd8qra5s9bl_QoInk,14783
132
132
  not1mm/plugins/10_10_spring_cw.py,sha256=p7dSDtbFK0e6Xouw2V6swYn3VFVgHKyx4IfRWyBjMZY,14786
@@ -190,9 +190,9 @@ not1mm/plugins/ukeidx.py,sha256=ZsIFXgOSwjuKNmN4W_C0TAgGqgnabJGNLMHwGkl3_bk,1910
190
190
  not1mm/plugins/vhf_sprint.py,sha256=a9QFTpv8XUbZ_GLjdVCh7svykFa-gXOWwKFZ6MD3uQM,19289
191
191
  not1mm/plugins/weekly_rtty.py,sha256=C8Xs3Q5UgSYx-mFFar8BVARWtmqlyrbeC98Ubzb4UN8,20128
192
192
  not1mm/plugins/winter_field_day.py,sha256=hmAMgkdqIXtnCNyUp8J9Bb8liN8wj10wps6ROuG-Bok,15284
193
- not1mm-25.6.11.1.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
194
- not1mm-25.6.11.1.dist-info/METADATA,sha256=qkyEgV2Ba4TyrISLl1aqFEvP0ZmxYPft7m2yyzXyhAY,35680
195
- not1mm-25.6.11.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
196
- not1mm-25.6.11.1.dist-info/entry_points.txt,sha256=pMcZk_0dxFgLkcUkF0Q874ojpwOmF3OL6EKw9LgvocM,47
197
- not1mm-25.6.11.1.dist-info/top_level.txt,sha256=0YmTxEcDzQlzXub-lXASvoLpg_mt1c2thb5cVkDf5J4,7
198
- not1mm-25.6.11.1.dist-info/RECORD,,
193
+ not1mm-25.6.12.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
194
+ not1mm-25.6.12.dist-info/METADATA,sha256=2vdtH_bwu2Kjy8L58lqMQPNFOxiqZ1Iph6TIgjWzHi0,35752
195
+ not1mm-25.6.12.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
196
+ not1mm-25.6.12.dist-info/entry_points.txt,sha256=pMcZk_0dxFgLkcUkF0Q874ojpwOmF3OL6EKw9LgvocM,47
197
+ not1mm-25.6.12.dist-info/top_level.txt,sha256=0YmTxEcDzQlzXub-lXASvoLpg_mt1c2thb5cVkDf5J4,7
198
+ not1mm-25.6.12.dist-info/RECORD,,