SpiffyTitles: fix Twitch channel info.

This commit is contained in:
oddluck 2020-08-01 03:09:27 +00:00
parent 8d1796904f
commit d8ced96b72

View File

@ -1056,7 +1056,7 @@ class SpiffyTitles(callbacks.Plugin):
data = response
elif link_type == "clip":
data = response
if not data or not user_data:
if not data and not user_data:
log.error("SpiffyTitles: Twitch: Failed to get data from Twitch API")
return self.handler_default(url, channel)
log.debug("SpiffyTitles: twitch - Got data '%s'" % (data))