diff --git a/openmc/data/ace.py b/openmc/data/ace.py index 55d5d19dc6..b93de0d24c 100644 --- a/openmc/data/ace.py +++ b/openmc/data/ace.py @@ -191,7 +191,8 @@ def get_table(filename, name=None): if lib.tables: return lib.tables[0] else: - raise ValueError(f'Could not find ACE table with name: {name}') + raise ValueError('Could not find ACE table with name: {}' + .format(name)) class Library(EqualityMixin):