Bug fix: Don't break random replace on alt characters

This commit is contained in:
Kiooeht 2011-07-07 12:09:32 -07:00
parent f6b800a482
commit 6e3d00f0c6
3 changed files with 2 additions and 2 deletions

View file

@ -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]

View file

@ -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

View file

@ -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"])