From 89da3d3a6fef5ce76d0bce4904c134a6e7f5fc6a Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Wed, 10 Oct 2007 16:18:20 +0000 Subject: [PATCH] Fixed a bug: import codecs. git-svn-id: file:///home/phd/archive/SVN/bookmarks_db/trunk@82 fdd5c36f-1aea-0310-aeeb-c58d7e2b6c23 --- Robots/parse_html.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Robots/parse_html.py b/Robots/parse_html.py index 25b3bb0..90b777b 100755 --- a/Robots/parse_html.py +++ b/Robots/parse_html.py @@ -5,6 +5,8 @@ Written by BroytMann. Copyright (C) 1997-2007 PhiloSoft Design """ +import codecs + from m_lib.defenc import default_encoding current_charset = default_encoding.replace("windows-", "cp") DEFAULT_CHARSET = "cp1251" # Stupid default for Russian Cyrillic -- 2.39.5