summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/GoogledriveCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster/GoogledriveCom.py')
-rw-r--r--module/plugins/hoster/GoogledriveCom.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/GoogledriveCom.py b/module/plugins/hoster/GoogledriveCom.py
index 57a5ab7fb..bb4a5d1d4 100644
--- a/module/plugins/hoster/GoogledriveCom.py
+++ b/module/plugins/hoster/GoogledriveCom.py
@@ -12,7 +12,7 @@ from module.utils import html_unescape
class GoogledriveCom(SimpleHoster):
__name__ = "GoogledriveCom"
__type__ = "hoster"
- __version__ = "0.05"
+ __version__ = "0.06"
__pattern__ = r'https?://(?:www\.)?drive\.google\.com/file/.+'
__config__ = [("use_premium", "bool", "Use premium account if available", True)]
@@ -41,7 +41,7 @@ class GoogledriveCom(SimpleHoster):
if self.link:
remote = urllib2.urlopen(self.link)
name = remote.info()['Content-Disposition'].split(';')
- pyfile.name = name[1].split('filename=')[1][1:]
+ pyfile.name = name[1].split('filename=')[1][1:-1]
def handleFree(self, pyfile):