diff options
author | Jon Bergli Heier <snakebite@jvnv.net> | 2010-11-19 15:04:40 +0100 |
---|---|---|
committer | Jon Bergli Heier <snakebite@jvnv.net> | 2010-11-19 15:04:40 +0100 |
commit | 46fe98005e944437f120ccc88506af5efa2acd63 (patch) | |
tree | 9525f2ea1091aebe09f2d930792f250e0b7d5158 /modules | |
parent | 35861ed5bf39158254d3e86cc1308c4f00d40c7d (diff) |
url_titles: Default enc to None (no encoding specified) on non-gzipped content.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/url_titles.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/url_titles.py b/modules/url_titles.py index b7d5e25..eca708f 100644 --- a/modules/url_titles.py +++ b/modules/url_titles.py @@ -74,6 +74,7 @@ class Module: else: s = '' m = None + enc = None buf = u.read(1024) while buf and time.time() - t < 5.0: s += buf |