summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--module/plugins/internal/SimpleHoster.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/internal/SimpleHoster.py b/module/plugins/internal/SimpleHoster.py
index f32d7c036..0bc529cbe 100644
--- a/module/plugins/internal/SimpleHoster.py
+++ b/module/plugins/internal/SimpleHoster.py
@@ -501,7 +501,7 @@ class SimpleHoster(Hoster):
try:
if disposition:
content = urllib2.urlopen(url).info()['Content-Disposition'].split(';')
- self.pyfile.name = (content[1].split('filename=')[1].strip('"')
+ self.pyfile.name = (content[1].split('filename=')[1].strip('"\'')
or urlparse.urlparse(urllib.unquote(url)).path.split('/')[-1]
or self.pyfile.name)
finally: