diff --git a/eessi/testsuite/__init__.py b/eessi/testsuite/__init__.py index dd90f0e7..afb16eab 100644 --- a/eessi/testsuite/__init__.py +++ b/eessi/testsuite/__init__.py @@ -63,7 +63,7 @@ fallback_version = stripped_line.split('=', 1)[1].strip().strip('"').strip("'") break # Account for the possibility that we failed to extract the fallback_version field from pyproject.toml - if fall_back_version: + if fallback_version: __version__ = fallback_version else: msg = "fallback_version not found in file %s" % pyproject_toml