From dea8431846a05f2633f5ed99e37011160cd8e439 Mon Sep 17 00:00:00 2001 From: Pat Gunn Date: Tue, 7 May 2024 16:37:26 -0400 Subject: [PATCH] Fix code goof that a random bot found #1345 --- caiman/paths.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/caiman/paths.py b/caiman/paths.py index 05abfb336..91dc1d0bf 100644 --- a/caiman/paths.py +++ b/caiman/paths.py @@ -38,7 +38,7 @@ def get_tempdir() -> str: if os.path.isdir(os.environ['CAIMAN_TEMP']): return os.environ['CAIMAN_TEMP'] else: - logging.warning(f"CAIMAN_TEMP is set to nonexistent directory {os.environment['CAIMAN_TEMP']}. Ignoring") + logging.warning(f"CAIMAN_TEMP is set to nonexistent directory {os.environ['CAIMAN_TEMP']}. Ignoring") temp_under_data = os.path.join(caiman_datadir(), "temp") if not os.path.isdir(temp_under_data): logging.warning(f"Default temporary dir {temp_under_data} does not exist, creating")