Commit 854c3ab7 authored by Raphael Beer's avatar Raphael Beer

Fix: startup choke when .htaccounts is missing

parent 2fe1c07a
......@@ -568,8 +568,11 @@ else:
ensure_dir(args.cookie_dir)
with open(args.account_file, "r") as f:
accounts = json.loads(f.read())
try:
with open(args.account_file, "r") as f:
accounts = json.loads(f.read())
except:
accounts = []
if args.log is not None:
print("Logging test results to %s" % args.log)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment