not1mm 24.10.25__py3-none-any.whl → 24.10.27__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
@@ -584,7 +584,7 @@ class MainWindow(QtWidgets.QMainWindow):
584
584
  self.station = self.database.fetch_station()
585
585
  if self.station is None:
586
586
  self.station = {}
587
- self.contact = self.database.empty_contact
587
+ self.contact = self.database.empty_contact.copy()
588
588
  self.current_op = self.station.get("Call", "")
589
589
  self.voice_process.current_op = self.current_op
590
590
  self.make_op_dir()
@@ -751,6 +751,7 @@ class MainWindow(QtWidgets.QMainWindow):
751
751
  return
752
752
  if msg.get("cmd", "") == "TUNE":
753
753
  # b'{"cmd": "TUNE", "freq": 7.0235, "spot": "MM0DGI"}'
754
+ self.clearinputs()
754
755
  if self.vfo_window:
755
756
  self.vfo_window.msg_from_main(msg)
756
757
  vfo = msg.get("freq")
@@ -1210,7 +1211,7 @@ class MainWindow(QtWidgets.QMainWindow):
1210
1211
  "current_database", "ham.db"
1211
1212
  )
1212
1213
  self.database = DataBase(self.dbname, fsutils.APP_DATA_PATH)
1213
- self.contact = self.database.empty_contact
1214
+ self.contact = self.database.empty_contact.copy()
1214
1215
  self.station = self.database.fetch_station()
1215
1216
  if self.station is None:
1216
1217
  self.station = {}
@@ -1245,7 +1246,7 @@ class MainWindow(QtWidgets.QMainWindow):
1245
1246
  "current_database", "ham.db"
1246
1247
  )
1247
1248
  self.database = DataBase(self.dbname, fsutils.MODULE_PATH)
1248
- self.contact = self.database.empty_contact
1249
+ self.contact = self.database.empty_contact.copy()
1249
1250
  self.station = self.database.fetch_station()
1250
1251
  if self.station is None:
1251
1252
  self.station = {}
@@ -2163,7 +2164,7 @@ class MainWindow(QtWidgets.QMainWindow):
2163
2164
  """
2164
2165
 
2165
2166
  self.dupe_indicator.hide()
2166
- self.contact = self.database.empty_contact
2167
+ self.contact = self.database.empty_contact.copy()
2167
2168
  self.heading_distance.setText("")
2168
2169
  self.dx_entity.setText("")
2169
2170
 
not1mm/bandmap.py CHANGED
@@ -809,7 +809,10 @@ class BandMapWindow(QDockWidget):
809
809
  """Process waiting bytes"""
810
810
  while self.socket.bytesAvailable():
811
811
  data = self.socket.readLine(1000)
812
- data = str(data, "utf-8").strip()
812
+ try:
813
+ data = str(data, "utf-8").strip()
814
+ except UnicodeDecodeError:
815
+ continue
813
816
 
814
817
  if "login:" in data or "call:" in data or "callsign:" in data:
815
818
  self.send_command(self.callsignField.text())
@@ -819,6 +822,8 @@ class BandMapWindow(QDockWidget):
819
822
  "set dx mode " + self.settings.get("cluster_mode", "OPEN")
820
823
  )
821
824
  return
825
+ if "BEACON" in data:
826
+ return
822
827
  if "DX de" in data:
823
828
  parts = data.split()
824
829
  spotter = parts[2]
not1mm/lib/version.py CHANGED
@@ -1,3 +1,3 @@
1
1
  """It's the version"""
2
2
 
3
- __version__ = "24.10.25"
3
+ __version__ = "24.10.27"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: not1mm
3
- Version: 24.10.25
3
+ Version: 24.10.27
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
@@ -232,6 +232,8 @@ generated, 'cause I'm lazy, list of those who've submitted PR's.
232
232
 
233
233
  ## Recent Changes (Polishing the Turd)
234
234
 
235
+ - [24-10-27] Fix bug where a contacts info could be carried over to new contact if no new value was written.
236
+ - [24-10-26] Clear inputs when seeking to a call from the bandmap via the arrow up and down. Fixed bandmap crash from bad telnet data. Drop beacons from bandmap.
235
237
  - [24-10-25] Add File Menu option to create either an ASCII or UTF8 Cabrillo.
236
238
  - [24-10-24-1] Make all Cabrillo files with UTF-8.
237
239
  - [24-10-24] Forgot to convert the VFO dockwidget along with the rest. CQ WW CW, Dupes now score 0.
@@ -1,6 +1,6 @@
1
1
  not1mm/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- not1mm/__main__.py,sha256=lh87jfO8MwDGNeJP7KFDL0t54FmLH4UQek9ybzLm1ns,135422
3
- not1mm/bandmap.py,sha256=uCaM07IWyC22LFO3R1_ViaW7SBXjIaoJ-ypglJIKddg,30670
2
+ not1mm/__main__.py,sha256=JPKFnKAh1GZEH3NOidGpy86TcDZqm8gMABPR7VQiP3s,135485
3
+ not1mm/bandmap.py,sha256=X6mMHXS1kXBbUPZCaKgiVJ6Dz6DE6LEQqtEXfT3telg,30811
4
4
  not1mm/checkwindow.py,sha256=F6hNCbVSLG2PPY2afgmwlBWeqr1Uj4-n__AivDLVQ_0,9670
5
5
  not1mm/fsutils.py,sha256=ukHKxKTeNKxKwqRaJjtzRShL4X5Xl0jRBbADyy3Ifp8,1701
6
6
  not1mm/logwindow.py,sha256=TvpzQTNB92hISlUO3iWBqtlPmlebdhOkAArx0DNGcOs,43966
@@ -115,7 +115,7 @@ not1mm/lib/plugin_common.py,sha256=TbFUbftjELFt4QRdsjSHbqnXSngZOlSwlCTClqosDXA,9
115
115
  not1mm/lib/select_contest.py,sha256=WsptLuwkouIHeocJL3oZ6-eUfEnhpwdc-x7eMZ_TIVM,359
116
116
  not1mm/lib/settings.py,sha256=7_JFDSKPOd35Gwzqhrbed4EfrlYUm7AEnz2xBRioc-g,13280
117
117
  not1mm/lib/super_check_partial.py,sha256=hwT2NRwobu0PLDyw6ltmbmcAtGBD02CKGFbgGWjXMqA,2334
118
- not1mm/lib/version.py,sha256=llRIelwEFtJf35f7do4LjLaaRzgaK_yvuudBSacZsBU,49
118
+ not1mm/lib/version.py,sha256=QxrGgy8tR7cnyUhE8alHEwdXU9Kmlr6zOuorgYRplTw,49
119
119
  not1mm/lib/versiontest.py,sha256=8vDNptuBBunn-1IGkjNaquehqBYUJyjrPSF8Igmd4_Y,1286
120
120
  not1mm/plugins/10_10_fall_cw.py,sha256=QQjEgWQRT35qG1bi87QhoUIOzGbN8C27WIUhhoFNsAI,11866
121
121
  not1mm/plugins/10_10_spring_cw.py,sha256=nGznP9VLooaDnHi0JXttosqAtSRH32oXwWmMrXf95A0,11871
@@ -160,9 +160,9 @@ not1mm/plugins/ref_ssb.py,sha256=UC8xwl4uRihTvlYsITCvfTCPVbNXpnO91T8qMDKaW8E,209
160
160
  not1mm/plugins/stew_perry_topband.py,sha256=UOK9M23eMkcEB83kL8NPHl6QDBJFCXKZpBRlhfuEH2c,11581
161
161
  not1mm/plugins/weekly_rtty.py,sha256=WoMfQXJczvoHQB04i6TAvL6MF91uOOQ9ZmB9BpUkOfo,19098
162
162
  not1mm/plugins/winter_field_day.py,sha256=wPxHKPPeyE2XlRT6Unnz09evFwd0ghWtXU5l-nMr3aI,14492
163
- not1mm-24.10.25.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
164
- not1mm-24.10.25.dist-info/METADATA,sha256=Tjd4aFc1osDZz609X_cIKldCd1vqKRHDApkBtrX9Fe4,35273
165
- not1mm-24.10.25.dist-info/WHEEL,sha256=OVMc5UfuAQiSplgO0_WdW7vXVGAt9Hdd6qtN4HotdyA,91
166
- not1mm-24.10.25.dist-info/entry_points.txt,sha256=pMcZk_0dxFgLkcUkF0Q874ojpwOmF3OL6EKw9LgvocM,47
167
- not1mm-24.10.25.dist-info/top_level.txt,sha256=0YmTxEcDzQlzXub-lXASvoLpg_mt1c2thb5cVkDf5J4,7
168
- not1mm-24.10.25.dist-info/RECORD,,
163
+ not1mm-24.10.27.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
164
+ not1mm-24.10.27.dist-info/METADATA,sha256=x0lp0IkthtaRZecYrTklYNMDChhthPypCAlNwWAQVNU,35544
165
+ not1mm-24.10.27.dist-info/WHEEL,sha256=OVMc5UfuAQiSplgO0_WdW7vXVGAt9Hdd6qtN4HotdyA,91
166
+ not1mm-24.10.27.dist-info/entry_points.txt,sha256=pMcZk_0dxFgLkcUkF0Q874ojpwOmF3OL6EKw9LgvocM,47
167
+ not1mm-24.10.27.dist-info/top_level.txt,sha256=0YmTxEcDzQlzXub-lXASvoLpg_mt1c2thb5cVkDf5J4,7
168
+ not1mm-24.10.27.dist-info/RECORD,,