Skip to content

Commit

Permalink
Fix python 3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
danielhollas committed Feb 6, 2025
1 parent ce69c57 commit 03525ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aiidalab_widgets_base/viewers.py
Original file line number Diff line number Diff line change
Expand Up @@ -961,7 +961,7 @@ def _render_structure(self, change=None):
scene = vapory.Scene(camera, objects=objects)
fname = bb.get_chemical_formula() + ".png"

with TemporaryDirectory(ignore_cleanup_errors=True) as tmpdir:
with TemporaryDirectory() as tmpdir:
cwd = pathlib.Path.cwd()
try:
os.chdir(tmpdir)
Expand Down

0 comments on commit 03525ce

Please sign in to comment.