summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/FilefactoryCom.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-10-10 17:49:14 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-10-10 17:49:14 +0200
commit8e15c1af88b61cebda68a3b40352bf388c2010c7 (patch)
treebd1fb40094d907ccad41b4770f947cf9cac020cf /module/plugins/hoster/FilefactoryCom.py
parentMerge branch 'pr/n1997_GammaC0de' into stable (diff)
downloadpyload-8e15c1af88b61cebda68a3b40352bf388c2010c7.tar.xz
Spare code cosmetics (3)
Diffstat (limited to 'module/plugins/hoster/FilefactoryCom.py')
-rw-r--r--module/plugins/hoster/FilefactoryCom.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/FilefactoryCom.py b/module/plugins/hoster/FilefactoryCom.py
index b134abf30..b4e8aef0e 100644
--- a/module/plugins/hoster/FilefactoryCom.py
+++ b/module/plugins/hoster/FilefactoryCom.py
@@ -11,7 +11,7 @@ def get_info(urls):
h = get_url(url, just_header=True)
m = re.search(r'Location: (.+)\r\n', h)
- if m and not re.match(m.group(1), FilefactoryCom.__pattern__): #: It's a direct link! Skipping
+ if m and not re.match(m.group(1), FilefactoryCom.__pattern): #: It's a direct link! Skipping
yield (url, 0, 3, url)
else:
#: It's a standard html page
@@ -19,7 +19,7 @@ def get_info(urls):
class FilefactoryCom(SimpleHoster):
- __name__ = "FilefactoryCom"
+ __name = "FilefactoryCom"
__type__ = "hoster"
__version__ = "0.59"
__status__ = "testing"