Added dirs

This commit is contained in:
Jamie Hardt
2024-10-26 11:29:12 -07:00
parent e7c5476910
commit b4fe0692f0
22 changed files with 2 additions and 2 deletions

BIN
dirs/ar.zip Normal file

Binary file not shown.

BIN
dirs/da.zip Normal file

Binary file not shown.

BIN
dirs/de.zip Normal file

Binary file not shown.

BIN
dirs/en.zip Normal file

Binary file not shown.

BIN
dirs/es.zip Normal file

Binary file not shown.

BIN
dirs/fi.zip Normal file

Binary file not shown.

BIN
dirs/fr.zip Normal file

Binary file not shown.

BIN
dirs/it.zip Normal file

Binary file not shown.

BIN
dirs/ja.zip Normal file

Binary file not shown.

BIN
dirs/kr.zip Normal file

Binary file not shown.

BIN
dirs/nl.zip Normal file

Binary file not shown.

BIN
dirs/no.zip Normal file

Binary file not shown.

BIN
dirs/pl.zip Normal file

Binary file not shown.

BIN
dirs/pt-br.zip Normal file

Binary file not shown.

BIN
dirs/pt.zip Normal file

Binary file not shown.

BIN
dirs/ru.zip Normal file

Binary file not shown.

BIN
dirs/sv.zip Normal file

Binary file not shown.

BIN
dirs/tr.zip Normal file

Binary file not shown.

BIN
dirs/tw.zip Normal file

Binary file not shown.

BIN
dirs/ua.zip Normal file

Binary file not shown.

BIN
dirs/zh.zip Normal file

Binary file not shown.

View File

@@ -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)