Skip to content

Commit 1fa2a36

Browse files
committed
Fix issue with subcategory folders not generating
1 parent dfc935e commit 1fa2a36

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

backend.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -196,15 +196,16 @@ def headerGet(type, header=None):
196196
def applyCasing(type, text):
197197
global catCasing, subCasing
198198
if type == "cat":
199+
print("catCasing: "+ catCasing)
199200
if catCasing == "Capitalize": return text.title()
200201
elif catCasing == "UPPER": return text.upper()
201202
elif catCasing == "lower": return text.lower()
202-
else: return text
203-
if type == "sub":
203+
elif type == "sub":
204+
print("subCasing: "+ subCasing)
204205
if subCasing == "Capitalize": return text.title()
205206
elif subCasing == "UPPER": return text.upper()
206207
elif subCasing == "lower": return text.lower()
207-
else: return text
208+
return text
208209

209210
def casingSet(type, case):
210211
global catCasing, subCasing

0 commit comments

Comments
 (0)