Skip to content

Commit

Permalink
Oops
Browse files Browse the repository at this point in the history
  • Loading branch information
beckadamtheinventor committed Feb 24, 2024
1 parent e50acd8 commit 8ed34bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _m3ec/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,7 @@ def add_content(cid, content_type, d, manifest_dict, fname=None):
manifest_dict[f"mod.{content_type}.{cidlow}.texture"] = d["result"]
else:
if "title" not in d.keys() or getDictKeyLen(d, "title") < 1:
manifest_dict["title"] = " ".join([word.capitalize() for word in cidlow.split("_")])
manifest_dict[f"mod.{content_type}.{cidlow}.title"] = " ".join([word.capitalize() for word in cidlow.split("_")])
if "texture" not in d.keys() or getDictKeyLen(d, "texture") < 1:
if f"mod.{content_type}.{cidlow}.texture_top" in manifest_dict.keys():
manifest_dict[f"mod.{content_type}.{cidlow}.texture"] = manifest_dict[f"mod.{content_type}.{cidlow}.texture_top"]
Expand Down

0 comments on commit 8ed34bb

Please sign in to comment.