diff --git a/eb_hooks.py b/eb_hooks.py index 96fa48e129..ed006bae1c 100644 --- a/eb_hooks.py +++ b/eb_hooks.py @@ -743,7 +743,7 @@ def post_sanitycheck_cuda(self, *args, **kwargs): # under host_injections accel_subdir = os.getenv("EESSI_ACCELERATOR_TARGET") if accel_subdir: - host_inj_path = host_inj_path.replace('/accel/%s' % accel_subdir, '') + host_inj_path = host_inj_path.replace("/accel/%s" % accel_subdir, '') # make sure source and target of symlink are not the same if full_path == host_inj_path: raise EasyBuildError("Source (%s) and target (%s) are the same location, are you sure you "