From 89e4cb12d69a564de308b36bf9ef2442627b3774 Mon Sep 17 00:00:00 2001
From: Manuel Gunther <siebenkopf@googlemail.com>
Date: Tue, 2 Jan 2018 18:23:20 -0700
Subject: [PATCH] Fixed the exception that is raised when score file is not
 found

---
 bob/bio/base/script/evaluate.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bob/bio/base/script/evaluate.py b/bob/bio/base/script/evaluate.py
index 26dcd77a..f9c89c8c 100644
--- a/bob/bio/base/script/evaluate.py
+++ b/bob/bio/base/script/evaluate.py
@@ -77,7 +77,7 @@ def command_line_arguments(command_line_parameters):
   for f in args.dev_files + (args.eval_files or []):
     real_file = os.path.join(args.directory, f)
     if not os.path.exists(real_file):
-      raise ValueError("The provided score file '%s' does not exist", real_file)
+      raise ValueError("The provided score file '%s' does not exist" % real_file)
 
   if args.eval_files is not None and len(args.dev_files) != len(args.eval_files):
     logger.error("The number of --dev-files (%d) and --eval-files (%d) are not identical", len(args.dev_files), len(args.eval_files))
-- 
GitLab