diff --git a/py/rlgall.py b/py/rlgall.py index c816b76..2b5b858 100644 --- a/py/rlgall.py +++ b/py/rlgall.py @@ -501,6 +501,11 @@ class ARogueGame(Game): fields = ["name", "score", "class", "xl", "fate", "depth", "endt"] rankfields = ["rank", "score", "name", "class", "xl", "fate", "depth", "endt"] pfields = ["score", "class", "xl", "fate", "depth", "endt"] + def postprocess(self, gamelist): + "Enforces consistent capitalization of the class title." + for d in gamelist: + d["class"] = d["class"].capitalize() + Game.postprocess(self, gamelist) def getRecent(self, n=20): return [] def getPlayer(self, player):