summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar runningbits <runningbits@users.noreply.github.com> 2015-09-05 23:56:22 +0200
committerGravatar runningbits <runningbits@users.noreply.github.com> 2015-10-19 15:34:55 +0200
commitde91fc5e6d91a381591ead02ccacbc0aca35bc72 (patch)
tree097195ff807faaaae05180d3427c1e9c191bfb26
parentSpare fixes (diff)
downloadpyload-de91fc5e6d91a381591ead02ccacbc0aca35bc72.tar.xz
remove unused imports/variables
-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