From cf95c9151c0e58d87fcdfe18ec92c51bc30785f8 Mon Sep 17 00:00:00 2001 From: Bruno Postle Date: Sun, 15 Sep 2024 17:34:44 +0100 Subject: [PATCH] black formatting after 71de39e --- src/bonsai/bonsai/tool/ifcgit.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/bonsai/bonsai/tool/ifcgit.py b/src/bonsai/bonsai/tool/ifcgit.py index d04aa820cf..e7f2991034 100644 --- a/src/bonsai/bonsai/tool/ifcgit.py +++ b/src/bonsai/bonsai/tool/ifcgit.py @@ -79,7 +79,11 @@ class IfcGit: else: return None - if IfcGitRepo.repo is not None and os.path.exists(IfcGitRepo.repo.git_dir) and IfcGitRepo.repo.working_dir == path_dir: + if ( + IfcGitRepo.repo is not None + and os.path.exists(IfcGitRepo.repo.git_dir) + and IfcGitRepo.repo.working_dir == path_dir + ): return IfcGitRepo.repo try: