summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/FlyFilesNet.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster/FlyFilesNet.py')
-rw-r--r--module/plugins/hoster/FlyFilesNet.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/FlyFilesNet.py b/module/plugins/hoster/FlyFilesNet.py
index 915f39c08..aa2c3993f 100644
--- a/module/plugins/hoster/FlyFilesNet.py
+++ b/module/plugins/hoster/FlyFilesNet.py
@@ -20,11 +20,11 @@ class FlyFilesNet(SimpleHoster):
__authors__ = []
SESSION_PATTERN = r'flyfiles\.net/(.*)/.*'
- FILE_NAME_PATTERN = r'flyfiles\.net/.*/(.*)'
+ NAME_PATTERN = r'flyfiles\.net/.*/(.*)'
def process(self, pyfile):
- name = re.search(self.FILE_NAME_PATTERN, pyfile.url).group(1)
+ name = re.search(self.NAME_PATTERN, pyfile.url).group(1)
pyfile.name = unquote_plus(name)
session = re.search(self.SESSION_PATTERN, pyfile.url).group(1)