Skip to content

Commit ba454d4

Browse files
author
Jarosław
authored
Update create_dir_if_not_there.py
1 parent 088e402 commit ba454d4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

create_dir_if_not_there.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
home = os.path.expanduser("~") # Set the variable home by expanding the users set home directory
1414
print(home) # Print the location
1515

16-
if not os.path.exists(os.path.join(home, 'testdir0123')):
17-
os.makedirs(os.path.join(home, 'testdir0123')) # If not create the directory, inside their home directory
16+
if not os.path.exists(os.path.join(home, 'testdir')):
17+
os.makedirs(os.path.join(home, 'testdir')) # If not create the directory, inside their home directory
1818
except Exception as e:
1919
print(e)

0 commit comments

Comments
 (0)