From 0c86984827d60e0a94d8152df55a16d232020336 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Mon, 30 Mar 2015 19:11:33 +0200 Subject: [GoogledriveCom][UlozTo] Fix handleDirect (2) --- module/plugins/hoster/UlozTo.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'module/plugins/hoster/UlozTo.py') diff --git a/module/plugins/hoster/UlozTo.py b/module/plugins/hoster/UlozTo.py index 49ed598cb..c6dcec2cf 100644 --- a/module/plugins/hoster/UlozTo.py +++ b/module/plugins/hoster/UlozTo.py @@ -15,7 +15,7 @@ def convertDecimalPrefix(m): class UlozTo(SimpleHoster): __name__ = "UlozTo" __type__ = "hoster" - __version__ = "1.06" + __version__ = "1.07" __pattern__ = r'http://(?:www\.)?(uloz\.to|ulozto\.(cz|sk|net)|bagruj\.cz|zachowajto\.pl)/(?:live/)?(?P\w+/[^/?]*)' __config__ = [("use_premium", "bool", "Use premium account if available", True)] @@ -55,7 +55,7 @@ class UlozTo(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): -- cgit v1.2.3