summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks/IRC.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2016-01-02 16:01:56 +0100
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2016-01-02 16:01:56 +0100
commit6c75c0363f496df86e9c744a9a946f86f82715fa (patch)
tree53e5b7f906e2b9fb1d853d2b0599be7a8c5c7a3d /module/plugins/hooks/IRC.py
parentTimeout for http request set to 1 minute + report effective url address in he... (diff)
downloadpyload-6c75c0363f496df86e9c744a9a946f86f82715fa.tar.xz
Spare code cosmetics
Diffstat (limited to 'module/plugins/hooks/IRC.py')
-rw-r--r--module/plugins/hooks/IRC.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/hooks/IRC.py b/module/plugins/hooks/IRC.py
index 2b7bea5fd..65ae2a356 100644
--- a/module/plugins/hooks/IRC.py
+++ b/module/plugins/hooks/IRC.py
@@ -80,7 +80,7 @@ class IRC(Thread, Notifier):
html = self.load("http://www.freeimagehosting.net/upload.php",
post={'attached': (pycurl.FORM_FILE, task.captchaFile)})
- url = re.search(r"\[img\]([^\[]+)\[/img\]\[/url\]", html).group(1)
+ url = re.search(r'\[img\]([^\[]+)\[/img\]\[/url\]', html).group(1)
self.response(_("New Captcha Request: %s") % url)
self.response(_("Answer with 'c %s text on the captcha'") % task.id)