HexaGrid / utils /file_utils.py
Surn's picture
Merge from Main repository
6ef117e
raw
history blame
271 Bytes
# file_utils
import os
import utils.constants as constants
def cleanup_temp_files():
for file_path in constants.temp_files:
try:
os.remove(file_path)
except Exception as e:
print(f"Failed to delete temp file {file_path}: {e}")