mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[mod] use os.path
This commit is contained in:
parent
218029b628
commit
e23604e763
1 changed files with 2 additions and 2 deletions
|
@ -6,12 +6,12 @@ This script generates man pages for yunohost.
|
||||||
Pages are stored in OUTPUT_DIR
|
Pages are stored in OUTPUT_DIR
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import yaml
|
|
||||||
import os
|
import os
|
||||||
|
import yaml
|
||||||
|
|
||||||
|
|
||||||
THIS_SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__))
|
THIS_SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__))
|
||||||
ACTIONSMAP_FILE = THIS_SCRIPT_DIR + '/../data/actionsmap/yunohost.yml'
|
ACTIONSMAP_FILE = os.path.join(THIS_SCRIPT_DIR, '../data/actionsmap/yunohost.yml')
|
||||||
OUTPUT_DIR = "output/"
|
OUTPUT_DIR = "output/"
|
||||||
|
|
||||||
# creates output directory
|
# creates output directory
|
||||||
|
|
Loading…
Add table
Reference in a new issue