diff --git a/configs/common/SysPaths.py b/configs/common/SysPaths.py index 2b2fca3784..762efaf97d 100644 --- a/configs/common/SysPaths.py +++ b/configs/common/SysPaths.py @@ -70,7 +70,7 @@ class PathSearchFunc(object): return next(p for p in paths if os.path.exists(p)) except StopIteration: raise IOError("Can't find file '{}' on {}." - .format(filename, self.environment_variable)) + .format(filepath, self.environment_variable)) disk = PathSearchFunc('disks') binary = PathSearchFunc('binaries')