summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/UlozTo.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-03-30 19:11:33 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-03-30 19:11:33 +0200
commit0c86984827d60e0a94d8152df55a16d232020336 (patch)
tree1bd2600fab9ec075c26e09f6b0693e48d36fa5cc /module/plugins/hoster/UlozTo.py
parentMerge pull request #1302 from ludoviclehmann/stable (diff)
downloadpyload-0c86984827d60e0a94d8152df55a16d232020336.tar.xz
[GoogledriveCom][UlozTo] Fix handleDirect (2)
Diffstat (limited to 'module/plugins/hoster/UlozTo.py')
-rw-r--r--module/plugins/hoster/UlozTo.py4
1 files changed, 2 insertions, 2 deletions
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<ID>\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):