summaryrefslogtreecommitdiffstats
path: root/module/plugins/internal/Plugin.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/internal/Plugin.py')
-rw-r--r--module/plugins/internal/Plugin.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/module/plugins/internal/Plugin.py b/module/plugins/internal/Plugin.py
index 570c984ac..62eb17aa6 100644
--- a/module/plugins/internal/Plugin.py
+++ b/module/plugins/internal/Plugin.py
@@ -48,7 +48,7 @@ def exists(path):
#@TODO: Move to utils in 0.4.10
def fixurl(url):
- return html_unescape(urllib.unquote(url.decode('unicode-escape'))).strip()
+ return html_unescape(urllib.unquote(url.decode('unicode-escape'))).strip().rstrip('/')
#@TODO: Move to utils in 0.4.10
@@ -142,7 +142,7 @@ def chunks(iterable, size):
class Plugin(object):
__name__ = "Plugin"
__type__ = "hoster"
- __version__ = "0.26"
+ __version__ = "0.27"
__status__ = "testing"
__pattern__ = r'^unmatchable$'
@@ -347,6 +347,7 @@ class Plugin(object):
with open(framefile, "wb") as f:
del frame #: Delete the frame or it wont be cleaned
f.write(encode(res))
+
except IOError, e:
self.log_error(e)