Skip to content

Commit 3863fbc

Browse files
committed
test again
1 parent c63377e commit 3863fbc

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

.github/scripts/print_os_specs.py

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,16 @@
88

99
home = java.lang.System.getProperty("user.home")
1010

11-
folder_path = os.path.join(home, ".local", "share", "appose", "micromamba2", filename)
11+
folder_path = os.path.join(home, ".local", "share", "appose", "micromamba3", filename)
1212

13-
File(folder_path).createNewFile()
13+
ff = File(folder_path)
14+
15+
if not ff.getParentFile().exists():
16+
ff.getParentFile().mkdirs()
17+
18+
ff.createNewFile()
1419

1520
#created = File(folder_path).mkdir()
16-
print(folder_path)
21+
1722
#print("created " + str(created))
1823
print("exists: " + str(File(folder_path).isFile()))

0 commit comments

Comments
 (0)