Added dirs
This commit is contained in:
BIN
dirs/ar.zip
Normal file
BIN
dirs/ar.zip
Normal file
Binary file not shown.
BIN
dirs/da.zip
Normal file
BIN
dirs/da.zip
Normal file
Binary file not shown.
BIN
dirs/de.zip
Normal file
BIN
dirs/de.zip
Normal file
Binary file not shown.
BIN
dirs/en.zip
Normal file
BIN
dirs/en.zip
Normal file
Binary file not shown.
BIN
dirs/es.zip
Normal file
BIN
dirs/es.zip
Normal file
Binary file not shown.
BIN
dirs/fi.zip
Normal file
BIN
dirs/fi.zip
Normal file
Binary file not shown.
BIN
dirs/fr.zip
Normal file
BIN
dirs/fr.zip
Normal file
Binary file not shown.
BIN
dirs/it.zip
Normal file
BIN
dirs/it.zip
Normal file
Binary file not shown.
BIN
dirs/ja.zip
Normal file
BIN
dirs/ja.zip
Normal file
Binary file not shown.
BIN
dirs/kr.zip
Normal file
BIN
dirs/kr.zip
Normal file
Binary file not shown.
BIN
dirs/nl.zip
Normal file
BIN
dirs/nl.zip
Normal file
Binary file not shown.
BIN
dirs/no.zip
Normal file
BIN
dirs/no.zip
Normal file
Binary file not shown.
BIN
dirs/pl.zip
Normal file
BIN
dirs/pl.zip
Normal file
Binary file not shown.
BIN
dirs/pt-br.zip
Normal file
BIN
dirs/pt-br.zip
Normal file
Binary file not shown.
BIN
dirs/pt.zip
Normal file
BIN
dirs/pt.zip
Normal file
Binary file not shown.
BIN
dirs/ru.zip
Normal file
BIN
dirs/ru.zip
Normal file
Binary file not shown.
BIN
dirs/sv.zip
Normal file
BIN
dirs/sv.zip
Normal file
Binary file not shown.
BIN
dirs/tr.zip
Normal file
BIN
dirs/tr.zip
Normal file
Binary file not shown.
BIN
dirs/tw.zip
Normal file
BIN
dirs/tw.zip
Normal file
Binary file not shown.
BIN
dirs/ua.zip
Normal file
BIN
dirs/ua.zip
Normal file
Binary file not shown.
BIN
dirs/zh.zip
Normal file
BIN
dirs/zh.zip
Normal file
Binary file not shown.
@@ -16,7 +16,7 @@ import json
|
|||||||
SCHEDULE_JSON=sys.argv[1]
|
SCHEDULE_JSON=sys.argv[1]
|
||||||
|
|
||||||
# The path to create the directory tree in
|
# The path to create the directory tree in
|
||||||
OUTPUT_PATH='dirs'
|
OUTPUT_PATH=sys.argv[2]
|
||||||
|
|
||||||
schedule = []
|
schedule = []
|
||||||
|
|
||||||
@@ -27,5 +27,5 @@ with open(SCHEDULE_JSON, "r") as fp:
|
|||||||
for cat in schedule:
|
for cat in schedule:
|
||||||
path = os.path.join(OUTPUT_PATH, cat['Category'],
|
path = os.path.join(OUTPUT_PATH, cat['Category'],
|
||||||
f"{cat['Category']} - {cat['SubCategory']}")
|
f"{cat['Category']} - {cat['SubCategory']}")
|
||||||
os.makedirs(path)
|
os.makedirs(path, exist_ok=True)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user