clean and fix minor issues

This commit is contained in:
dece 2021-03-28 18:28:54 +02:00
parent bd7cfce520
commit 1f938fd2af
2 changed files with 1 additions and 2 deletions

View file

@ -20,7 +20,7 @@ def main():
user_data_path.mkdir() user_data_path.mkdir()
cert_stash_path = user_data_path / "known_hosts.txt" cert_stash_path = user_data_path / "known_hosts.txt"
cert_stash = load_cert_stash(cert_stash_path) cert_stash = load_cert_stash(cert_stash_path) or {}
try: try:
Browser(cert_stash).run(start_url=start_url) Browser(cert_stash).run(start_url=start_url)
finally: finally:

View file

@ -1,4 +1,3 @@
import io
from pathlib import Path from pathlib import Path
from bebop.fs import get_user_data_path from bebop.fs import get_user_data_path