diff --git a/CHANGELOG.mkdn b/CHANGELOG.mkdn index 395cc46..b4f6823 100644 --- a/CHANGELOG.mkdn +++ b/CHANGELOG.mkdn @@ -73,6 +73,7 @@ CHANGELOG * Only open links on left click - Kiooeht [evacipatedBox] * Don't delete random chum when blocking someone not on chumroll - Kiooeht [evacipatedBox] * Openning global userlist doesn't reset OP status of memo users - Kiooeht [evacipatedBox] + * Alt characters don't break on random replace - Kiooeht [evacipatedBox] ### 3.14.1 * Pesterchum 3.14 - illuminatedwax [ghostDunk] diff --git a/TODO.mkdn b/TODO.mkdn index 6ba9e07..fbc0c09 100644 --- a/TODO.mkdn +++ b/TODO.mkdn @@ -28,7 +28,6 @@ Bugs * If pesterchum is open but offline due to a network failure and you open the memos screen, it connects you but doesn't fetch the memo list when it finishes connecting * right clicking an offline chum and choosing remove asks you why you're reporting someone, and if you hit cancel the menus stop working * Closing a timeclone doesn't actually cease for everyone else -* Alt characters break quirks * +q(~) and +a(&) do weird things * Kill Zalgo diff --git a/dataobjs.py b/dataobjs.py index fd2a556..434bb45 100644 --- a/dataobjs.py +++ b/dataobjs.py @@ -108,7 +108,7 @@ class pesterQuirk(object): elif self.type == "regexp": return "REGEXP: %s REPLACED WITH %s" % (self.quirk["from"], self.quirk["to"]) elif self.type == "random": - return "REGEXP: %s RANDOMLY REPLACED WITH %s" % (self.quirk["from"], [str(r) for r in self.quirk["randomlist"]]) + return "REGEXP: %s RANDOMLY REPLACED WITH %s" % (self.quirk["from"], [r for r in self.quirk["randomlist"]]) elif self.type == "spelling": return "MISPELLER: %d%%" % (self.quirk["percentage"])