mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[mod] use builtin python function for creating dirs
This commit is contained in:
parent
e23604e763
commit
51f9dbe5ae
1 changed files with 2 additions and 1 deletions
|
@ -15,7 +15,8 @@ ACTIONSMAP_FILE = os.path.join(THIS_SCRIPT_DIR, '../data/actionsmap/yunohost.yml
|
|||
OUTPUT_DIR = "output/"
|
||||
|
||||
# creates output directory
|
||||
os.system("mkdir " + OUTPUT_DIR)
|
||||
if not os.path.exists(OUTPUT_DIR):
|
||||
os.makedirs(OUTPUT_DIR)
|
||||
|
||||
|
||||
# man page of yunohost
|
||||
|
|
Loading…
Add table
Reference in a new issue