# HG changeset patch # User John "Elwin" Edwards # Date 1438895260 14400 # Node ID 6542a7cf826b10e3a9acd8c8a39969533f49140d # Parent f74935730fd2d8719d990dc74df94d562f7e1003 Fix links from player pages to the ttyrec archive. RogueGame.getPlayer() was setting the "name" field to self.uname instead of the player's name. Bugs like this are why I need to set up an actual testing server. diff -r f74935730fd2 -r 6542a7cf826b py/rlgall.py --- a/py/rlgall.py Sat Jun 27 19:55:56 2015 -0400 +++ b/py/rlgall.py Thu Aug 06 17:07:40 2015 -0400 @@ -437,7 +437,7 @@ cur.execute(qstr, [player]) for record in cur: ndict = {"game": self} - ndict["name"] = self.uname + ndict["name"] = player ndict["endt"] = record[0] ndict["score"] = record[1] ndict["xl"] = record[2] @@ -519,7 +519,7 @@ cur.execute(qstr, [player]) for record in cur: ndict = {"game": self} - ndict["name"] = self.uname + ndict["name"] = player ndict["endt"] = record[0] ndict["score"] = record[1] ndict["xl"] = record[2]