dataknead icon indicating copy to clipboard operation
dataknead copied to clipboard

PosixPath instances should be seen as paths instead of as data

Open hay opened this issue 5 years ago • 0 comments

When entering a PosixPath (e.g. from using pathlib) as input to a new Knead instance because it is not a string dataknead will think this is Python data (a native type), and will give back a stringified path as data instead of the file contents. This should be changed so that instances of PosixPath are recognised and treated as file paths.

hay avatar Jul 19 '20 15:07 hay