lassoan / slicerio

Utilities for reading and writing files created by 3D Slicer
MIT License
34 stars 3 forks source link

Support pathlib.Path paths #6

Closed johannesu closed 1 year ago

johannesu commented 1 year ago

load_file and save_file breaks if file_path is a pathlib.Path.

This is because urllib expect the input to be to be a str.