fixed errors

This commit is contained in:
Marcel Gansfusz
2025-02-24 23:24:43 +01:00
parent 7737915e35
commit e273e4d788
3 changed files with 3 additions and 3 deletions

Binary file not shown.

View File

@@ -322,7 +322,7 @@ def make_savepath(
pfpath = pf[1] + "/"
catpath = CATEGORIES[int(cat)] + "/"
scpath = ""
if int(cat) in SUBCAT_CATEGORIES_I:
if int(cat) in SUBCAT_CATEGORIES_I and subcat != "":
sc = get_subcatpath(subcat, int(cat), pf[0], lv[0])
scpath = sc[1] + "/"
savepath = UNIZEUG_PATH + lvpath + pfpath + catpath + scpath