mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 06:05:58 -04:00
Checkvalue bug
This commit is contained in:
parent
6fa9b02b4d
commit
4c5bdd4438
1 changed files with 1 additions and 1 deletions
|
|
@ -265,7 +265,7 @@ def check_filetype_version(obj, expected_type, expected_version):
|
|||
if this_version[0] != expected_version:
|
||||
raise IOError('{} file has a version of {} which is not '
|
||||
'consistent with the version expected by OpenMC, {}'
|
||||
.format(this_filetype, '.'.join(this_version),
|
||||
.format(this_filetype, '.'.join(str(v) for v in this_version),
|
||||
expected_version))
|
||||
except AttributeError:
|
||||
raise IOError('Could not read {} file. This most likely means the {} '
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue