diff options
Diffstat (limited to 'tools/loginfo.py')
-rwxr-xr-x | tools/loginfo.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/loginfo.py b/tools/loginfo.py index c742b33..1356806 100755 --- a/tools/loginfo.py +++ b/tools/loginfo.py @@ -7,7 +7,7 @@ import sys import argparse import readconfig -from certtools import create_ssl_context, get_sth +from certtools import create_ssl_context, get_sth_retry def main(): parser = argparse.ArgumentParser(description='') @@ -29,7 +29,7 @@ def main(): paths = localconfig["paths"] create_ssl_context(cafile=paths["https_cacertfile"]) - sth = get_sth(args.baseurl) + sth = get_sth_retry(args.baseurl, tries=10) if args.raw: print sth |