Cleanup: correct comment, remove unused variable

This commit is contained in:
Campbell Barton
2025-08-07 09:21:31 +10:00
parent 87c4f47312
commit 9fcdf4822a
2 changed files with 2 additions and 4 deletions

View File

@@ -2,7 +2,7 @@
#
# SPDX-License-Identifier: GPL-2.0-or-later
# ./blender.bin --background --factory-startup --python tests/python/bl_tempfile.py -- --verbose
# ./blender.bin --background --factory-startup --python tests/python/bl_pyapi_bpy_app_tempdir.py -- --verbose
# NOTE(ideasman42):
#
@@ -41,8 +41,6 @@ TEMP_ENV = "TEMP" if is_win32 else "TMPDIR"
if os.environ.get("TMP") is not None:
del os.environ["TMP"]
BASE_DIR = ""
def system_temp_set(path: str) -> None:
os.environ[TEMP_ENV] = path