mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
🐛 return Path instead of FileLocation
This commit is contained in:
parent
595a3546f3
commit
cc543fb6a2
1 changed files with 2 additions and 2 deletions
|
|
@ -126,7 +126,7 @@ class FileLocations(TraitBase):
|
|||
self,
|
||||
frame: int,
|
||||
sequence_trait: Optional[Sequence] = None,
|
||||
) -> Optional[FileLocation]:
|
||||
) -> Optional[Path]:
|
||||
"""Get file location for a frame.
|
||||
|
||||
This method will return the file location for a given frame. If the
|
||||
|
|
@ -138,7 +138,7 @@ class FileLocations(TraitBase):
|
|||
frame range specs from.
|
||||
|
||||
Returns:
|
||||
Optional[FileLocation]: File location for the frame.
|
||||
Optional[Path]: File location for the frame.
|
||||
|
||||
"""
|
||||
frame_regex = r"\.(?P<frame>(?P<padding>0*)\d+)\.\D+\d?$"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue