From 21409af405679d03f3e67833b2a6f248f66e2d4a Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Thu, 2 Aug 2012 13:26:44 +0000 Subject: [PATCH] =?UTF-8?q?Revert=20"Add=20=C2=B0=20as=20a=20prefix=20char?= =?UTF-8?q?acter."?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 0af7d791cc9cd31142b6fa3fdfcb86e5bde1c13e. ° is differently encoded in unicode and latin1. --- src/conf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/conf.py b/src/conf.py index 1f4b90c9d..208864adc 100644 --- a/src/conf.py +++ b/src/conf.py @@ -454,9 +454,9 @@ registerChannelValue(supybot.reply, 'showSimpleSyntax', help) rather than the full help."""))) class ValidPrefixChars(registry.String): - """Value must contain only ~!@#$%^&*()_-+=[{}]\\|'\";:,<.>/?°""" + """Value must contain only ~!@#$%^&*()_-+=[{}]\\|'\";:,<.>/?""" def setValue(self, v): - if v.translate(utils.str.chars, '`~!@#$%^&*()_-+=[{}]\\|\'";:,<.>/?°'): + if v.translate(utils.str.chars, '`~!@#$%^&*()_-+=[{}]\\|\'";:,<.>/?'): self.error() registry.String.setValue(self, v)