EDCD / EDMarketConnector

Downloads commodity market and other station data from the game Elite: Dangerous for use with all popular online and offline trading tools.
GNU General Public License v2.0
988 stars 155 forks source link

Converted all old os.path related library use to Pathlib. 18 files. #2254

Closed Michael-K-Williams closed 3 months ago

Michael-K-Williams commented 3 months ago

Description

This is a PR for replacing all of the old uses of os.path and its' various functions to all rest under pathlib.

Type of Change

Enhancement

How Tested

Loaded program straight from source on Linux, repaired all initial errors. No new errors.

Notes

https://github.com/EDCD/EDMarketConnector/issues/2114

Issue 2114, Enhancement.

Additionally added extra logging niceness when the journal file errors 'none', making it state in brackets to check their config file, as there will be users who will run this from the terminal.

Tested on Linux Distro EndeavourOS, with Kernel "6.9.3-arch1-1"

Michael-K-Williams commented 3 months ago

Fixed the few errors that happened last time it checked the code (my bad) and reverted the oldconfig file to its' original state.