Make activity space creation a bit more solid
This commit is contained in:
parent
4b7cb1c831
commit
9e4b78766b
2
NEWS
2
NEWS
@ -1,3 +1,5 @@
|
||||
* #4650: Failure to write journal files. (marco)
|
||||
|
||||
Snapshot ee8712d1c4
|
||||
|
||||
* #3119: Implement some basic search capabilities in the mesh view. (tomeu)
|
||||
|
@ -85,9 +85,11 @@ def get_environment(activity):
|
||||
os.mkdir(activity_root)
|
||||
|
||||
data_dir = os.path.join(activity_root, 'data')
|
||||
if not os.path.exists(data_dir):
|
||||
os.mkdir(data_dir)
|
||||
|
||||
tmp_dir = os.path.join(activity_root, 'tmp')
|
||||
if not os.path.exists(tmp_dir):
|
||||
os.mkdir(tmp_dir)
|
||||
|
||||
environ['SUGAR_BUNDLE_PATH'] = activity.path
|
||||
|
Loading…
Reference in New Issue
Block a user