MCPcopy
hub / github.com/hackerkid/Mind-Expanding-Books / clean_category

Function clean_category

utils/update_json_files.py:30–34  ·  view source on GitHub ↗
(category_raw)

Source from the content-addressed store, hash-verified

28
29
30def clean_category(category_raw):
31 if "### " in category_raw:
32 return category_raw[4:]
33 if "## " in category_raw:
34 return category_raw[3:]
35
36def validate_bookcover(book_details):
37 """

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected