Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing files give an error of "Do not know how to read file extension" #299

Open
dschwoerer opened this issue Nov 15, 2023 · 1 comment

Comments

@dschwoerer
Copy link
Contributor

It would be nice to give a more useful error:

  • Expected file name but got a folder
  • File does not exist

Maybe some more things we should check ... ?

@ZedThree
Copy link
Member

Is it just a matter of putting this line:

filetype = _check_filetype(path)

after the checks on filepaths in that function?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants