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:
parent
31a79db861
commit
3aaedc1a4e
2
.gitignore
vendored
2
.gitignore
vendored
@ -8,3 +8,5 @@ dist
|
||||
build
|
||||
buku.py
|
||||
.tox
|
||||
.history
|
||||
.vscode/launch.json
|
||||
|
5
buku
5
buku
@ -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']
|
||||
|
Loading…
x
Reference in New Issue
Block a user