summaryrefslogtreecommitdiffstats
path: root/modules/oblique.py
diff options
context:
space:
mode:
authorSean B. Palmer <sbp@aldebaran.local>2011-02-23 21:32:37 +0000
committerSean B. Palmer <sbp@aldebaran.local>2011-02-23 21:32:37 +0000
commit4a2b9efbe78d110fbab67550c6726da695e1368d (patch)
tree1194ffed73adec5df73682bdc74a655f3ac14f87 /modules/oblique.py
parent4608c57ea861e86f2bbae26dc55169f7c33e5ab4 (diff)
downloadbot-4a2b9efbe78d110fbab67550c6726da695e1368d.tar.gz
bot-4a2b9efbe78d110fbab67550c6726da695e1368d.tar.bz2
bot-4a2b9efbe78d110fbab67550c6726da695e1368d.zip
Added reminders module.
Diffstat (limited to 'modules/oblique.py')
-rwxr-xr-xmodules/oblique.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/oblique.py b/modules/oblique.py
index 3622b4a..6d6156c 100755
--- a/modules/oblique.py
+++ b/modules/oblique.py
@@ -30,9 +30,9 @@ def mappings(uri):
def service(phenny, input, command, args):
t = o.services[command]
- template = t.replace('${args}', urllib.quote(args.encode('utf-8')))
- template = template.replace('${nick}', urllib.quote(input.nick))
- uri = template.replace('${sender}', urllib.quote(input.sender))
+ template = t.replace('${args}', urllib.quote(args.encode('utf-8'), ''))
+ template = template.replace('${nick}', urllib.quote(input.nick, ''))
+ uri = template.replace('${sender}', urllib.quote(input.sender, ''))
info = web.head(uri)
if isinstance(info, list):