AcademySoftwareFoundation / OpenTimelineIO

Open Source API and interchange format for editorial timeline information.
http://opentimeline.io
Apache License 2.0
1.4k stars 276 forks source link

Added support for pathlib.Path filepath arguments for adapter IO functions #1704

Closed timlehr closed 4 months ago

timlehr commented 4 months ago

Simple little PR: Currently the read_from_file, write_to_file of opentimelineio.adapter do not support pathlib.Path objects for their filepath argument. This addresses this.

timlehr commented 4 months ago

@JeanChristopheMorinPerso Thanks, I changed the code accordingly!