diff --git a/savu/data/data_structures/data_types/fabIO.py b/savu/data/data_structures/data_types/fabIO.py index 624b6bdd9..a2560bb05 100644 --- a/savu/data/data_structures/data_types/fabIO.py +++ b/savu/data/data_structures/data_types/fabIO.py @@ -69,8 +69,9 @@ def __get_file_name(self, folder, prefix): # files = os.listdir(folder) fullpath = str.strip(folder) if prefix is not None: - fullpath = os.path.join(folder, prefix) - fullpath += "/*" + fullpath = os.path.join(folder, prefix + '*') + else: + fullpath += "/*" files = glob.glob(fullpath) self.nFrames = len(files)