From 2cc61df5222c193259b68ee37bb003f9f6e9e1cc Mon Sep 17 00:00:00 2001 From: GammaC0de Date: Tue, 15 Dec 2015 02:23:55 +0200 Subject: [Hoster] small bug fix --- module/plugins/internal/Hoster.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'module') diff --git a/module/plugins/internal/Hoster.py b/module/plugins/internal/Hoster.py index bbe37f39f..f5ba13875 100644 --- a/module/plugins/internal/Hoster.py +++ b/module/plugins/internal/Hoster.py @@ -15,7 +15,7 @@ from module.plugins.internal.utils import encode, exists, fixurl, fs_join, parse class Hoster(Base): __name__ = "Hoster" __type__ = "hoster" - __version__ = "0.45" + __version__ = "0.46" __status__ = "stable" __pattern__ = r'^unmatchable$' @@ -226,7 +226,7 @@ class Hoster(Base): disposition=disposition) except BadHeader, e: - self.req.code = e.code + self.req.http.code = e.code raise BadHeader(e) finally: -- cgit v1.2.3