Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Sep 24, 2024
1 parent 6e65d03 commit 2bc1bfd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion jupytercad_freecad/freecad/loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,9 @@ def load(self, base64_content: str) -> None:
)
if "visible" in self._options["guidata"][obj_name]:
gui_data_visible = self._options["guidata"][obj_name]["visible"]
obj_data["visible"] = gui_data_visible if gui_data_visible is not None else True
obj_data["visible"] = (
gui_data_visible if gui_data_visible is not None else True
)

self._objects.append(obj_data)

Expand Down

0 comments on commit 2bc1bfd

Please sign in to comment.