Raiff1982 commited on
Commit
019ae47
·
verified ·
1 Parent(s): dae6ae3

Update secure_memory.py

Browse files
Files changed (1) hide show
  1. secure_memory.py +2 -0
secure_memory.py CHANGED
@@ -40,6 +40,8 @@ class SecureMemorySession:
40
 
41
  # Save it as a Python file
42
  memory_path = Path("/mnt/data/secure_memory.py")
 
43
  memory_path.write_text(memory_isolation_code)
44
 
 
45
  memory_path
 
40
 
41
  # Save it as a Python file
42
  memory_path = Path("/mnt/data/secure_memory.py")
43
+ memory_path.parent.mkdir(parents=True, exist_ok=True)
44
  memory_path.write_text(memory_isolation_code)
45
 
46
+
47
  memory_path