Windows10 (#403)

* Updated to work correctly on Windows 10

* updated setup things (that don't work!)

* removed launch.json as per review & amended pyreadline

* why didn't that work?

* removed extra import

* roll-back py2exe & setuptools changes.

* remove setup.spec since we don't need it.
This commit is contained in:
Alex Fielder 2019-06-25 15:14:09 +01:00 committed by Mischievous Meerkat
parent 31a79db861
commit 3aaedc1a4e
2 changed files with 4 additions and 3 deletions

2
.gitignore vendored
View File

@ -8,3 +8,5 @@ dist
build
buku.py
.tox
.history
.vscode/launch.json

5
buku
View File

@ -38,9 +38,8 @@ from typing import Any, Dict, List, Optional, Tuple, Union
import webbrowser
try:
import readline
readline
except ImportError:
pass
import pyreadline as readline
from bs4 import BeautifulSoup
import certifi
import urllib3
@ -2181,7 +2180,7 @@ class BukuDb:
True if bookmark parent folders should be added as tags else False.
"""
with open(path, 'r') as datafile:
with open(path, 'r', encoding="utf8") as datafile:
data = json.load(datafile)
roots = data['roots']