clean and fix minor issues
This commit is contained in:
parent
bd7cfce520
commit
1f938fd2af
|
@ -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:
|
||||||
|
|
|
@ -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
|
||||||
|
|
Reference in a new issue