From 76e0bd7defe7af4337fb1857141b7ef3e9f3f634 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Thu, 11 Oct 2007 15:56:51 +0000 Subject: [PATCH] Fixed a bug: import sys. git-svn-id: file:///home/phd/archive/SVN/bookmarks_db/trunk@91 fdd5c36f-1aea-0310-aeeb-c58d7e2b6c23 --- Robots/parse_html.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Robots/parse_html.py b/Robots/parse_html.py index c6a72f6..b30c664 100755 --- a/Robots/parse_html.py +++ b/Robots/parse_html.py @@ -145,6 +145,7 @@ def parse_html(filename, charset=None, log=None): if __name__ == '__main__': + import sys parser = parse_html(sys.argv[1]) print parser.charset print parser.title -- 2.39.5