mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 21:32:15 +01:00
fix loading bug
This commit is contained in:
parent
3817ed150d
commit
5a873368ee
1 changed files with 2 additions and 1 deletions
|
|
@ -119,7 +119,8 @@ class ImageLoader(load.LoaderPlugin):
|
|||
if not parent.children():
|
||||
parent.destroy()
|
||||
|
||||
def _get_file_sequence(self, root):
|
||||
def _get_file_sequence(self, file_path):
|
||||
root = os.path.dirname(file_path)
|
||||
files = sorted(os.listdir(root))
|
||||
|
||||
first_fname = files[0]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue