semuconsulting / PyGPSClient

Python Graphical GPS Client Application supporting NMEA, UBX, RTCM3, NTRIP & SPARTN Protocols
BSD 3-Clause "New" or "Revised" License
521 stars 104 forks source link

Fix error if no config file #64

Closed semuadmin closed 1 year ago

semuadmin commented 1 year ago

PyGPSClient Pull Request Template

Description

Fix ValueError if pygpsclient started with no default configuration file. Also fixes issue if user cancels out of load config dialog.

Fixes #63

Testing

Please test all changes, however trivial, against the supplied pytest suite tests/test_*.py. Please describe any test cases you have amended or added to this suite to maintain >= 99% code coverage.

Checklist: