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.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/module/plugins/hoster/FlyFilesNet.py b/module/plugins/hoster/FlyFilesNet.py
index 4420d5d60..689eb3c66 100644
--- a/module/plugins/hoster/FlyFilesNet.py
+++ b/module/plugins/hoster/FlyFilesNet.py
@@ -1,8 +1,7 @@
# -*- coding: utf-8 -*-
import re
-
-from urllib import unquote
+import urllib
from module.network.RequestFactory import getURL
from module.plugins.internal.SimpleHoster import SimpleHoster
@@ -26,7 +25,7 @@ class FlyFilesNet(SimpleHoster):
def process(self, pyfile):
name = re.search(self.NAME_PATTERN, pyfile.url).group(1)
- pyfile.name = unquote_plus(name)
+ pyfile.name = urllib.unquote_plus(name)
session = re.search(self.SESSION_PATTERN, pyfile.url).group(1)