Disable urllib3 warnings for self signed certificates

This commit is contained in:
George Lacey 2021-05-08 13:01:42 +01:00
parent 80489ffd84
commit 67aed1764b

View File

@ -4,6 +4,7 @@ import argparse
from tables import Error, Repo, Archive, Cache from tables import Error, Repo, Archive, Cache
import json import json
from datetime import datetime from datetime import datetime
import urllib3
def main(args): def main(args):
@ -37,4 +38,5 @@ def get_args():
if __name__ == "__main__": if __name__ == "__main__":
urllib3.disable_warnings()
main(get_args()) main(get_args())