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

Bugfix: Avoid IndexError when no video description is present #1

Closed
wants to merge 2 commits into from

Commits on Jan 17, 2014

  1. Small fix to avoid IndexError when no description

    If no video description is encoded, the regex will return an empty string (ie ''), which will cause an IndexError when trying to access ''[0].  This will now return a list with an empty string at index 0 if no match is found via regex.
    alukach committed Jan 17, 2014
    Copy the full SHA
    9baac37 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    aa518f4 View commit details
    Browse the repository at this point in the history