Closed jonasvdd closed 2 years ago
The .split operator is called on a Path object
.split
Path
Solution:
.name
Whoops, we updated it recently to use Pathlib glob instead of glob.glob, but didn't check the follow-up code. Thanks for reporting!
glob.glob
The
.split
operator is called on aPath
objectSolution:
.name
attribute of the Path object to access the last item (also more python to read)