From bc5703b112092d5b8b73a4a7ba4b4dd4e6e90aa2 Mon Sep 17 00:00:00 2001 From: Sfan5 Date: Sun, 2 Jun 2013 20:49:30 +0200 Subject: [PATCH] =?UTF-8?q?[RUtils]=20=C2=B0=20is=20\xb0=20not=20\xc2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- rutils.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rutils.py b/rutils.py index 764b361..8abfb44 100755 --- a/rutils.py +++ b/rutils.py @@ -216,10 +216,10 @@ def regex(phenny, input): if not input.group(2): return q = input.group(2).encode('utf-8') - rgx = q[:q.find("\xc2")] - txt = q[q.find("\xc2")+1:] + rgx = q[:q.find("\xb0")] + txt = q[q.find("\xb0")+1:] if rgx == "" or txt == "": - return phenny.reply("Give me a regex and a message seperated by \xc2") + return phenny.reply("Give me a regex and a message seperated by \xb0") try: r = re.compile(rgx) except BaseException as e: