You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
_discoverAPIUrls() blows up if it doesn't find any profile URLs, because there are repeated references to profileUrls[0] (the first on tentapp.py line 319), without checking if profileUrls is non-empty. I think the fix would be:
iflen(profileUrls) <1:
raiseDiscoveryFailure("No profile URLs found at {0}").format(entityUrl)
right before trying to use profileUrls[0].
It looks like there is a check for IndexError to try to account for this case, but the IndexError will never happen.
The text was updated successfully, but these errors were encountered:
_discoverAPIUrls() blows up if it doesn't find any profile URLs, because there are repeated references to
profileUrls[0]
(the first on tentapp.py line 319), without checking ifprofileUrls
is non-empty. I think the fix would be:right before trying to use
profileUrls[0]
.It looks like there is a check for
IndexError
to try to account for this case, but theIndexError
will never happen.The text was updated successfully, but these errors were encountered: