summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-08-19 23:46:59 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-08-19 23:46:59 +0200
commita6bf849c4db2fdcd76054dcb82e1111576e1e723 (patch)
tree64571a353552f0385f07216eeb5114bca6558663
parentDepositfilesCom premium (diff)
downloadpyload-a6bf849c4db2fdcd76054dcb82e1111576e1e723.tar.xz
debug report + deposit fix
-rw-r--r--module/PluginThread.py4
-rw-r--r--module/plugins/hoster/DepositfilesCom.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/module/PluginThread.py b/module/PluginThread.py
index 8b8ab4025..db8804db5 100644
--- a/module/PluginThread.py
+++ b/module/PluginThread.py
@@ -73,7 +73,7 @@ class PluginThread(Thread):
for name in dir(pyfile.plugin):
attr = getattr(pyfile.plugin, name)
- if not name.endswith("__") and type(attr) not in (InstanceType,MethodType):
+ if not name.endswith("__") and type(attr) != MethodType:
dump += "\t%20s = " % name
dump += pformat(attr) +"\n"
@@ -81,7 +81,7 @@ class PluginThread(Thread):
for name in dir(pyfile):
attr = getattr(pyfile, name)
- if not name.endswith("__") and type(attr) not in (InstanceType,MethodType):
+ if not name.endswith("__") and type(attr) != MethodType:
dump += "\t%20s = " % name
dump += pformat(attr) +"\n"
diff --git a/module/plugins/hoster/DepositfilesCom.py b/module/plugins/hoster/DepositfilesCom.py
index 0f4f680c8..c91341887 100644
--- a/module/plugins/hoster/DepositfilesCom.py
+++ b/module/plugins/hoster/DepositfilesCom.py
@@ -8,7 +8,7 @@ from module.plugins.Hoster import Hoster
class DepositfilesCom(Hoster):
__name__ = "DepositfilesCom"
__type__ = "hoster"
- __pattern__ = r"http://[\\w\\.]*?depositfiles\\.com(/\\w{1,3})?/files/[\\w]+"
+ __pattern__ = r"http://[\w\.]*?depositfiles\.com(/\w{1,3})?/files/[\w]+"
__version__ = "0.1"
__description__ = """Depositfiles.com Download Hoster"""
__author_name__ = ("spoob")