Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: improve error handling for getting the latest downloaded TCX file
Improve the error handling in the get_latest_download() function to handle the case when no TCX file is found in the Downloads folder. Instead of raising a FileNotFoundError, the function now prompts the user to manually provide the file path. If an error occurs while getting the file path, a ValueError is raised. This commit addresses the issue of the program crashing when no TCX file is found, providing a more user-friendly experience.
- Loading branch information