From: Oleg Broytman Date: Thu, 11 Oct 2007 15:56:51 +0000 (+0000) Subject: Fixed a bug: import sys. X-Git-Tag: v4.5.3~285 X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=76e0bd7defe7af4337fb1857141b7ef3e9f3f634;p=bookmarks_db.git Fixed a bug: import sys. git-svn-id: file:///home/phd/archive/SVN/bookmarks_db/trunk@91 fdd5c36f-1aea-0310-aeeb-c58d7e2b6c23 --- 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