mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
fixed splitting of sequence
This commit is contained in:
parent
911163756e
commit
342fda6315
1 changed files with 5 additions and 5 deletions
|
|
@ -379,11 +379,11 @@ class FileDefItem(object):
|
|||
if not self.is_sequence:
|
||||
raise ValueError("Cannot split single file item")
|
||||
|
||||
output = []
|
||||
for filename in self.filenames:
|
||||
path = os.path.join(self.directory, filename)
|
||||
output.append(self.from_paths([path]))
|
||||
return output
|
||||
paths = [
|
||||
os.path.join(self.directory, filename)
|
||||
for filename in self.filenames
|
||||
]
|
||||
return self.from_paths(paths, False)
|
||||
|
||||
@property
|
||||
def ext(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue