summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-10-20 01:16:18 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-10-20 01:16:18 +0200
commit285afe4d1823f044392aef174ef928c26a819dc2 (patch)
tree9b718f913122e09c2c57a8995da4f202087e46fb /module
parentMerge pull request #2077 from GammaC0de/patch-7 (diff)
parentremove unused imports/variables (diff)
downloadpyload-285afe4d1823f044392aef174ef928c26a819dc2.tar.xz
Merge pull request #2067 from runningbits/remove-unused-variables
remove unused imports/variables
Diffstat (limited to 'module')
-rw-r--r--module/plugins/hooks/CaptchaBrotherhood.py2
-rw-r--r--module/plugins/internal/SimpleHoster.py1
2 files changed, 1 insertions, 2 deletions
diff --git a/module/plugins/hooks/CaptchaBrotherhood.py b/module/plugins/hooks/CaptchaBrotherhood.py
index 5411322de..5334c1c5b 100644
--- a/module/plugins/hooks/CaptchaBrotherhood.py
+++ b/module/plugins/hooks/CaptchaBrotherhood.py
@@ -155,7 +155,7 @@ class CaptchaBrotherhood(Addon):
def captcha_invalid(self, task):
if task.data['service'] is self.classname and "ticket" in task.data:
- res = self.api_response("complainCaptcha", task.data['ticket'])
+ self.api_response("complainCaptcha", task.data['ticket'])
@threaded
diff --git a/module/plugins/internal/SimpleHoster.py b/module/plugins/internal/SimpleHoster.py
index b434c55ae..7821218ae 100644
--- a/module/plugins/internal/SimpleHoster.py
+++ b/module/plugins/internal/SimpleHoster.py
@@ -2,7 +2,6 @@
from __future__ import with_statement
-import os
import re
import time