From 1802827d316d40e71effe576a337d447eb0a52c2 Mon Sep 17 00:00:00 2001 From: pictuga Date: Mon, 21 Oct 2013 21:24:19 +0200 Subject: [PATCH] Fix decoding Was dropped in previous commit by mistake --- morss.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/morss.py b/morss.py index 1eee7af..ac36be0 100644 --- a/morss.py +++ b/morss.py @@ -344,7 +344,7 @@ def Fill(item, cache, feedurl='/', fast=False): # download try: url = link.encode('utf-8') - con = urllib2.build_opener(SimpleDownload()).open(url, timeout=TIMEOUT) + con = urllib2.build_opener(SimpleDownload(decode=True)).open(url, timeout=TIMEOUT) data = con.read() except (urllib2.URLError, httplib.HTTPException, socket.timeout): log('http error')