fix loading bug

This commit is contained in:
MustafaJafar 2023-11-01 17:56:23 +02:00
parent 3817ed150d
commit 5a873368ee

View file

@ -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]