We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f049747 commit ad09d9cCopy full SHA for ad09d9c
cdp_backend/pipeline/event_gather_pipeline.py
@@ -311,7 +311,7 @@ def get_session_content_hash(
311
312
313
@task(nout=3)
314
-def convert_video_and_handle_host(
+def convert_video_and_handle_host( # noqa: C901
315
video_filepath: str,
316
session: Session,
317
credentials_file: str,
@@ -410,9 +410,9 @@ def convert_video_and_handle_host(
410
cdp_will_host = True
411
412
# Try with www
413
- elif not resource_exists(session.video_url):
+ elif not resource_exists(session.video_uri):
414
log.info("Handling www URL problems")
415
- www_url = session.video_url.replace("://", "://www.")
+ www_url = session.video_uri.replace("://", "://www.")
416
if resource_exists(www_url):
417
hosted_video_media_url = www_url
418
0 commit comments