not1mm 25.6.16__tar.gz → 25.6.18__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.
- {not1mm-25.6.16 → not1mm-25.6.18}/PKG-INFO +1 -1
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/__main__.py +3 -3
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/lib/lookup.py +36 -25
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/lib/version.py +1 -1
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/lookupservice.py +9 -8
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/plugins/general_logging.py +6 -24
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm.egg-info/PKG-INFO +1 -1
- {not1mm-25.6.16 → not1mm-25.6.18}/pyproject.toml +1 -1
- {not1mm-25.6.16 → not1mm-25.6.18}/LICENSE +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/README.md +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/__init__.py +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/bandmap.py +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/checkwindow.py +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/data/JetBrainsMono-Thin.ttf +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/data/MASTER.SCP +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/data/about.ui +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/data/alpha bravo charlie delta.txt +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/data/bandmap.ui +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/data/check.png +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/data/checkwindow.ui +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/data/cloud_green.png +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/data/cloud_red.png +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/data/configuration.ui +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/data/contests.sql +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/data/cty.json +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/data/cwmacros.txt +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/data/donors.html +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/data/dxcc_tracker.ui +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/data/editcontact.ui +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/data/editmacro.ui +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/data/greendot.png +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/data/k6gte-not1mm.desktop +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/data/k6gte.not1mm-128.png +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/data/k6gte.not1mm-32.png +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/data/k6gte.not1mm-64.png +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/data/logwindow.ui +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/data/logwindowx.ui +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/data/main.ui +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/data/map3.png +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/data/new_contest.ui +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/data/not1mm.html +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/data/opon.ui +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/data/phonetics/0.wav +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/data/phonetics/1.wav +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/data/phonetics/2.wav +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/data/phonetics/3.wav +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/data/phonetics/4.wav +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/data/phonetics/5.wav +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/data/phonetics/6.wav +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/data/phonetics/7.wav +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/data/phonetics/73.wav +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/data/phonetics/8.wav +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/data/phonetics/9.wav +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/data/phonetics/a.wav +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/data/phonetics/again.wav +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/data/phonetics/b.wav +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/data/phonetics/c.wav +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/data/phonetics/contest.wav +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/data/phonetics/cq.wav +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/data/phonetics/cq2.wav +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/data/phonetics/d.wav +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/data/phonetics/e.wav +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/data/phonetics/f.wav +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/data/phonetics/g.wav +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/data/phonetics/h.wav +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/data/phonetics/i.wav +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/data/phonetics/j.wav +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/data/phonetics/k.wav +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/data/phonetics/k6gte.wav +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/data/phonetics/l.wav +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/data/phonetics/m.wav +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/data/phonetics/mynumber.wav +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/data/phonetics/n.wav +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/data/phonetics/nil.wav +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/data/phonetics/o.wav +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/data/phonetics/p.wav +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/data/phonetics/q.wav +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/data/phonetics/r.wav +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/data/phonetics/roger.wav +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/data/phonetics/s.wav +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/data/phonetics/space.wav +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/data/phonetics/t.wav +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/data/phonetics/thankyou.wav +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/data/phonetics/thankyouqrz.wav +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/data/phonetics/u.wav +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/data/phonetics/v.wav +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/data/phonetics/w.wav +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/data/phonetics/x.wav +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/data/phonetics/y.wav +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/data/phonetics/yourcall.wav +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/data/phonetics/z.wav +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/data/pickcontest.ui +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/data/radio_green.png +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/data/radio_grey.png +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/data/radio_red.png +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/data/ratewindow.ui +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/data/reddot.png +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/data/rotator.ui +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/data/rttymacros.txt +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/data/settings.ui +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/data/splash.png +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/data/ssbmacros.txt +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/data/statistics.ui +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/data/vfo.ui +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/dxcc_tracker.py +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/fsutils.py +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/lib/__init__.py +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/lib/about.py +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/lib/cat_interface.py +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/lib/cwinterface.py +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/lib/database.py +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/lib/edit_contact.py +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/lib/edit_macro.py +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/lib/edit_opon.py +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/lib/edit_station.py +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/lib/fldigi_sendstring.py +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/lib/ft8_watcher.py +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/lib/ham_utility.py +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/lib/multicast.py +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/lib/n1mm.py +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/lib/new_contest.py +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/lib/plugin_common.py +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/lib/rot_interface.py +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/lib/select_contest.py +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/lib/settings.py +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/lib/super_check_partial.py +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/lib/versiontest.py +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/logwindow.py +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/plugins/10_10_fall_cw.py +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/plugins/10_10_spring_cw.py +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/plugins/10_10_summer_phone.py +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/plugins/10_10_winter_phone.py +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/plugins/__init__.py +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/plugins/ari_40_80.py +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/plugins/ari_dx.py +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/plugins/arrl_10m.py +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/plugins/arrl_160m.py +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/plugins/arrl_dx_cw.py +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/plugins/arrl_dx_ssb.py +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/plugins/arrl_field_day.py +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/plugins/arrl_rtty_ru.py +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/plugins/arrl_ss_cw.py +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/plugins/arrl_ss_phone.py +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/plugins/arrl_vhf_jan.py +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/plugins/arrl_vhf_jun.py +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/plugins/arrl_vhf_sep.py +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/plugins/canada_day.py +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/plugins/cq_160_cw.py +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/plugins/cq_160_ssb.py +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/plugins/cq_wpx_cw.py +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/plugins/cq_wpx_rtty.py +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/plugins/cq_wpx_ssb.py +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/plugins/cq_ww_cw.py +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/plugins/cq_ww_rtty.py +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/plugins/cq_ww_ssb.py +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/plugins/cwt.py +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/plugins/darc_vhf.py +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/plugins/darc_xmas.py +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/plugins/ea_majistad_cw.py +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/plugins/ea_majistad_ssb.py +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/plugins/ea_rtty.py +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/plugins/es_field_day.py +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/plugins/es_open.py +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/plugins/helvetia.py +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/plugins/iaru_fieldday_r1_cw.py +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/plugins/iaru_fieldday_r1_ssb.py +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/plugins/iaru_hf.py +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/plugins/icwc_mst.py +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/plugins/jidx_cw.py +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/plugins/jidx_ph.py +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/plugins/k1usn_sst.py +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/plugins/labre_rs_digi.py +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/plugins/lz-dx.py +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/plugins/naqp_cw.py +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/plugins/naqp_rtty.py +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/plugins/naqp_ssb.py +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/plugins/phone_weekly_test.py +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/plugins/raem.py +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/plugins/randomgram.py +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/plugins/ref_cw.py +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/plugins/ref_ssb.py +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/plugins/sac_cw.py +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/plugins/sac_ssb.py +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/plugins/spdx.py +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/plugins/stew_perry_topband.py +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/plugins/ukeidx.py +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/plugins/vhf_sprint.py +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/plugins/weekly_rtty.py +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/plugins/winter_field_day.py +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/radio.py +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/ratewindow.py +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/rotator.py +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/rtc_service.py +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/statistics.py +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/test.py +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/vfo.py +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm/voice_keying.py +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm.egg-info/SOURCES.txt +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm.egg-info/dependency_links.txt +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm.egg-info/entry_points.txt +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm.egg-info/requires.txt +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/not1mm.egg-info/top_level.txt +0 -0
- {not1mm-25.6.16 → not1mm-25.6.18}/setup.cfg +0 -0
@@ -3398,9 +3398,9 @@ class MainWindow(QtWidgets.QMainWindow):
|
|
3398
3398
|
self.rig_control.sendcw(self.process_macro(function_key.toolTip()))
|
3399
3399
|
return
|
3400
3400
|
self.cw.sendcw(self.process_macro(function_key.toolTip()))
|
3401
|
-
if self.pref.get("cwtype") == 2:
|
3402
|
-
|
3403
|
-
return
|
3401
|
+
# if self.pref.get("cwtype") == 2:
|
3402
|
+
# time.sleep(0.3)
|
3403
|
+
# return
|
3404
3404
|
|
3405
3405
|
def toggle_run_sp(self) -> None:
|
3406
3406
|
"""Toggles the radioButton_run and radioButton_sp."""
|
@@ -74,27 +74,30 @@ class HamDBlookup:
|
|
74
74
|
if root:
|
75
75
|
messages = root.get("messages")
|
76
76
|
callsign = root.get("callsign")
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
77
|
+
if messages is not None:
|
78
|
+
error_text = messages.get("status")
|
79
|
+
logger.debug("HamDB: %s", error_text)
|
80
|
+
if error_text != "OK":
|
81
|
+
self.error = False
|
82
|
+
if callsign is not None:
|
83
|
+
logger.debug("HamDB: found callsign field")
|
84
|
+
if callsign.get("grid"):
|
85
|
+
grid = callsign.get("grid")
|
86
|
+
if callsign.get("fname"):
|
87
|
+
name = callsign.get("fname")
|
88
|
+
if callsign.get("name"):
|
89
|
+
if not name:
|
90
|
+
name = callsign.get("name")
|
91
|
+
else:
|
92
|
+
name = f"{name} {callsign.get('name')}"
|
93
|
+
if callsign.get("nickname"):
|
94
|
+
nickname = callsign.get("nickname")
|
95
95
|
else:
|
96
96
|
self.error = True
|
97
97
|
error_text = str(query_result.status_code)
|
98
|
+
logger.critical(
|
99
|
+
"HamDB-lookup: %s %s %s %s", grid, name, nickname, error_text
|
100
|
+
)
|
98
101
|
logger.info("HamDB-lookup: %s %s %s %s", grid, name, nickname, error_text)
|
99
102
|
return grid, name, nickname, error_text
|
100
103
|
|
@@ -166,12 +169,20 @@ class QRZlookup:
|
|
166
169
|
)
|
167
170
|
|
168
171
|
logger.info("\n\n%s\n\n", root)
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
172
|
+
if self.error:
|
173
|
+
logger.critical(
|
174
|
+
"key:%s error:%s message:%s",
|
175
|
+
self.session,
|
176
|
+
self.error,
|
177
|
+
self.message,
|
178
|
+
)
|
179
|
+
else:
|
180
|
+
logger.info(
|
181
|
+
"key:%s error:%s message:%s",
|
182
|
+
self.session,
|
183
|
+
self.error,
|
184
|
+
self.message,
|
185
|
+
)
|
175
186
|
except requests.exceptions.RequestException as exception:
|
176
187
|
logger.info("%s", exception)
|
177
188
|
self.session = False
|
@@ -209,7 +220,7 @@ class QRZlookup:
|
|
209
220
|
)
|
210
221
|
baseroot = xmltodict.parse(query_result.text)
|
211
222
|
root = baseroot.get("QRZDatabase", {})
|
212
|
-
return root.get("Callsign")
|
223
|
+
return root.get("Callsign", {})
|
213
224
|
|
214
225
|
|
215
226
|
class HamQTH:
|
@@ -40,14 +40,14 @@ class LookupService(QDockWidget):
|
|
40
40
|
|
41
41
|
if self.settings.get("useqrz"):
|
42
42
|
self.look_up = QRZlookup(
|
43
|
-
self.settings.get("lookupusername"),
|
44
|
-
self.settings.get("lookuppassword"),
|
43
|
+
self.settings.get("lookupusername", ""),
|
44
|
+
self.settings.get("lookuppassword", ""),
|
45
45
|
)
|
46
46
|
|
47
47
|
if self.settings.get("usehamqth"):
|
48
48
|
self.look_up = HamQTH(
|
49
|
-
self.settings.get("lookupusername"),
|
50
|
-
self.settings.get("lookuppassword"),
|
49
|
+
self.settings.get("lookupusername", ""),
|
50
|
+
self.settings.get("lookuppassword", ""),
|
51
51
|
)
|
52
52
|
|
53
53
|
def get_settings(self) -> dict:
|
@@ -55,6 +55,7 @@ class LookupService(QDockWidget):
|
|
55
55
|
if os.path.exists(fsutils.CONFIG_FILE):
|
56
56
|
with open(fsutils.CONFIG_FILE, "rt", encoding="utf-8") as file_descriptor:
|
57
57
|
return loads(file_descriptor.read())
|
58
|
+
return {}
|
58
59
|
|
59
60
|
def msg_from_main(self, packet):
|
60
61
|
""""""
|
@@ -74,12 +75,12 @@ class LookupService(QDockWidget):
|
|
74
75
|
self.look_up = None
|
75
76
|
if self.settings.get("useqrz"):
|
76
77
|
self.look_up = QRZlookup(
|
77
|
-
self.settings.get("lookupusername"),
|
78
|
-
self.settings.get("lookuppassword"),
|
78
|
+
self.settings.get("lookupusername", ""),
|
79
|
+
self.settings.get("lookuppassword", ""),
|
79
80
|
)
|
80
81
|
|
81
82
|
if self.settings.get("usehamqth"):
|
82
83
|
self.look_up = HamQTH(
|
83
|
-
self.settings.get("lookupusername"),
|
84
|
-
self.settings.get("lookuppassword"),
|
84
|
+
self.settings.get("lookupusername", ""),
|
85
|
+
self.settings.get("lookuppassword", ""),
|
85
86
|
)
|
@@ -184,19 +184,10 @@ def process_esm(self, new_focused_widget=None, with_enter=False):
|
|
184
184
|
buttons_to_send.append(self.esm_dict["HISCALL"])
|
185
185
|
buttons_to_send.append(self.esm_dict["EXCH"])
|
186
186
|
|
187
|
-
# elif self.current_widget in ["other_1", "other_2"]:
|
188
|
-
# if self.other_2.text() == "" and self.other_1.text() == "":
|
189
|
-
# self.make_button_green(self.esm_dict["AGN"])
|
190
|
-
# buttons_to_send.append(self.esm_dict["AGN"])
|
191
|
-
# else:
|
192
|
-
# self.make_button_green(self.esm_dict["QRZ"])
|
193
|
-
# buttons_to_send.append(self.esm_dict["QRZ"])
|
194
|
-
# buttons_to_send.append("LOGIT")
|
195
|
-
|
196
187
|
elif self.current_widget in ["other_1", "other_2"]:
|
197
|
-
|
198
|
-
|
199
|
-
|
188
|
+
self.make_button_green(self.esm_dict["QRZ"])
|
189
|
+
buttons_to_send.append(self.esm_dict["QRZ"])
|
190
|
+
buttons_to_send.append("LOGIT")
|
200
191
|
|
201
192
|
if with_enter is True and bool(len(buttons_to_send)):
|
202
193
|
for button in buttons_to_send:
|
@@ -211,19 +202,10 @@ def process_esm(self, new_focused_widget=None, with_enter=False):
|
|
211
202
|
self.make_button_green(self.esm_dict["MYCALL"])
|
212
203
|
buttons_to_send.append(self.esm_dict["MYCALL"])
|
213
204
|
|
214
|
-
# elif self.current_widget in ["other_1", "other_2"]:
|
215
|
-
# if self.other_2.text() == "" and self.other_1.text() == "":
|
216
|
-
# self.make_button_green(self.esm_dict["AGN"])
|
217
|
-
# buttons_to_send.append(self.esm_dict["AGN"])
|
218
|
-
# else:
|
219
|
-
# self.make_button_green(self.esm_dict["EXCH"])
|
220
|
-
# buttons_to_send.append(self.esm_dict["EXCH"])
|
221
|
-
# buttons_to_send.append("LOGIT")
|
222
|
-
|
223
205
|
elif self.current_widget in ["other_1", "other_2"]:
|
224
|
-
|
225
|
-
|
226
|
-
|
206
|
+
self.make_button_green(self.esm_dict["QRZ"])
|
207
|
+
buttons_to_send.append(self.esm_dict["QRZ"])
|
208
|
+
buttons_to_send.append("LOGIT")
|
227
209
|
|
228
210
|
if with_enter is True and bool(len(buttons_to_send)):
|
229
211
|
for button in buttons_to_send:
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|