]> git.phdru.name Git - bookmarks_db.git/commitdiff
Fixed a bug: import sys.
authorOleg Broytman <phd@phdru.name>
Thu, 11 Oct 2007 15:56:51 +0000 (15:56 +0000)
committerOleg Broytman <phd@phdru.name>
Thu, 11 Oct 2007 15:56:51 +0000 (15:56 +0000)
git-svn-id: file:///home/phd/archive/SVN/bookmarks_db/trunk@91 fdd5c36f-1aea-0310-aeeb-c58d7e2b6c23

Robots/parse_html.py

index c6a72f62fcff0f4987357830372b38aae03dd17a..b30c66458eaa32960b5badce9bc849a2082213d7 100755 (executable)
@@ -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