Skip to content

Commit

Permalink
Merge pull request #760 from MetOffice/fix-install-local-cset
Browse files Browse the repository at this point in the history
Add missing brackets to TemporaryDirectory call when installing local CSET
  • Loading branch information
daflack authored Jul 30, 2024
2 parents 5a23488 + 0da55d3 commit ce10907
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
)

if os.getenv("CSET_ENV_USE_LOCAL_CSET") == "True":
with tempfile.TemporaryDirectory as cset_install_path:
with tempfile.TemporaryDirectory() as cset_install_path:
cset_source_path = os.path.expandvars(
os.path.expanduser(os.getenv("CSET_LOCAL_CSET_PATH"))
)
Expand Down

0 comments on commit ce10907

Please sign in to comment.