From 2d7ea2e1fac46d9440fec3e861b54baf9a595ad7 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Wed, 15 Oct 2014 06:17:00 +0200 Subject: [PATCH] importer: Import cleanup --- scripts/importer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/importer.py b/scripts/importer.py index ca67ebd04..7fbe94c96 100755 --- a/scripts/importer.py +++ b/scripts/importer.py @@ -38,9 +38,9 @@ def get_args(): def import_chromium(bookmarks_file): - from bs4 import BeautifulSoup + import bs4 - soup = BeautifulSoup(open(bookmarks_file, encoding='utf-8')) + soup = bs4.BeautifulSoup(open(bookmarks_file, encoding='utf-8')) html_tags = soup.findAll('a')