Skip to content

Conversation

adbridge
Copy link
Contributor

In get_mbeds() if the regular expression for looking for a tid fails then
a NoneType occurs. The code then attempts to call the group() function on
this which causes an exception.
This fix adds a check for the regular expression returning a NoneType
before trying to call the method.

In get_mbeds() if the regular expression for looking for a tid fails then
a NoneType occurs. The code then attempts to call the group() function on
this which causes an exception.
This fix adds a check for the regular expression returning a NoneType
before trying to call the method.
@adbridge
Copy link
Contributor Author

@bridadan or @mazimkhan please review

Copy link
Contributor

@bridadan bridadan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mazimkhan mazimkhan merged commit 0081b01 into master Oct 29, 2016
@adbridge
Copy link
Contributor Author

adbridge commented Nov 1, 2016

Fixes #141

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

Successfully merging this pull request may close these issues.

3 participants