[ui] Support for imageList and sequence in SequencePlayer

This commit is contained in:
Aurore LAFAURIE 2024-05-14 17:58:59 +02:00
parent 7af0997a73
commit 4590868317
3 changed files with 39 additions and 22 deletions

View file

@ -144,4 +144,4 @@ class FilepathHelper(QObject):
"""
if extension is None:
extension = ".*"
return [self.removeExtension(FilepathHelper, self.basename(FilepathHelper, f)) for f in glob.glob(os.path.join(folderPath, f"*{extension}")) if os.path.isfile(f)]
return [self.basename(FilepathHelper, f) for f in glob.glob(os.path.join(folderPath, f"*{extension}")) if os.path.isfile(f)]