diff options
author | Florian Bruhin <git@the-compiler.org> | 2014-10-15 06:16:42 +0200 |
---|---|---|
committer | Florian Bruhin <git@the-compiler.org> | 2014-10-15 06:16:42 +0200 |
commit | 78d5532227c77f3e98b25b89c23a0fff7502024c (patch) | |
tree | 48bcf4faf4cdee88bd76353a4a43bdba70e8f101 /scripts/importer.py | |
parent | abab935ca8375af703f56a020ce46cc170c9ffaa (diff) | |
download | qutebrowser-78d5532227c77f3e98b25b89c23a0fff7502024c.tar.gz qutebrowser-78d5532227c77f3e98b25b89c23a0fff7502024c.zip |
importer: Use built-in open
Diffstat (limited to 'scripts/importer.py')
-rwxr-xr-x | scripts/importer.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/importer.py b/scripts/importer.py index b57afd964..ca67ebd04 100755 --- a/scripts/importer.py +++ b/scripts/importer.py @@ -38,10 +38,9 @@ def get_args(): def import_chromium(bookmarks_file): - import codecs from bs4 import BeautifulSoup - soup = BeautifulSoup(codecs.open(bookmarks_file, encoding='utf-8')) + soup = BeautifulSoup(open(bookmarks_file, encoding='utf-8')) html_tags = soup.findAll('a') |