From 88eb28d8886e061d8051571f509876545c5a21cb Mon Sep 17 00:00:00 2001 From: 7x11x13 Date: Thu, 13 Jun 2024 13:39:26 -0400 Subject: [PATCH] Format --- youtube_up/uploader.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/youtube_up/uploader.py b/youtube_up/uploader.py index 1f86236..5ec8e63 100644 --- a/youtube_up/uploader.py +++ b/youtube_up/uploader.py @@ -264,7 +264,9 @@ def _get_session_token(self): try: driver.get("https://youtube.com") except Exception: - cert_path = os.path.join(driver.backend.storage.home_dir, "mitmproxy-ca-cert.cer") + cert_path = os.path.join( + driver.backend.storage.home_dir, "mitmproxy-ca-cert.cer" + ) raise YTUploaderException( f"Was not able to load https://youtube.com. Have you installed the certificate at {cert_path} ? See https://docs.mitmproxy.org/stable/concepts-certificates/#installing-the-mitmproxy-ca-certificate-manually" )