Commits

sodas tsai committed 6a18906

Change prefix string of tmp_dir name

  • Participants
  • Parent commits 3226809

Comments (0)

Files changed (1)

ground_soil/filesystem.py

     if not os.path.exists(os_temp_dir):
         os.mkdir(os_temp_dir)
     # Make temporary folder in room
-    path = tempfile.mkdtemp(prefix=(prefix or 'tmp'), dir=os_temp_dir, suffix=(suffix or ''))
+    path = tempfile.mkdtemp(prefix=(prefix or 'tmp')+'~', dir=os_temp_dir, suffix=('~'+suffix or ''))
 
     try:
         yield path