diff --git a/tensorflow/contrib/slim/python/slim/data/parallel_reader.py b/tensorflow/contrib/slim/python/slim/data/parallel_reader.py index 7864fa099862b1..fda7b15b322d8b 100644 --- a/tensorflow/contrib/slim/python/slim/data/parallel_reader.py +++ b/tensorflow/contrib/slim/python/slim/data/parallel_reader.py @@ -277,5 +277,5 @@ def get_data_files(data_sources): else: data_files = [data_sources] if not data_files: - raise ValueError('No data files found in %s', data_sources) + raise ValueError('No data files found in %s' % (data_sources,)) return data_files