Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error for download codes lead to crop error #25

Open
sswax000643 opened this issue Dec 26, 2024 · 0 comments
Open

error for download codes lead to crop error #25

sswax000643 opened this issue Dec 26, 2024 · 0 comments

Comments

@sswax000643
Copy link

turn

    if not video_resolution != video_data['resolution']:
        print(f"Downloaded resolution is not correct for {video_data['name']}: {video_resolution} vs {video_data['name']}. Discarding this video.")
        return

to

    if not video_resolution == int(video_data['resolution']):
        print(f"Downloaded resolution is not correct for {video_data['name']}: {video_resolution} vs {video_data['name']}. Discarding this video.")
        return
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant