Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
7x11x13 committed Jun 13, 2024
1 parent 346cef1 commit 88eb28d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion youtube_up/uploader.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand Down

0 comments on commit 88eb28d

Please sign in to comment.