MCPcopy Create free account
hub / github.com/Card-Forge/forge / normalize_name

Function normalize_name

forge-gui/tools/ScriptScraper.py:15–16  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

13cards = 0
14
15def normalize_name(name):
16 return name.lower().replace(' ', '_').replace("'", '').replace(',', '').replace(u'\xc6', 'AE')
17
18
19#allCards = file(os.path.join(folder, 'allcards.txt'), 'w')

Callers 1

ScriptScraper.pyFile · 0.70

Calls 1

replaceMethod · 0.45

Tested by

no test coverage detected