mirror of
https://github.com/oddluck/limnoria-plugins.git
synced 2025-04-25 20:41:21 -05:00
SpiffyTitles: fix Twitch channel info.
This commit is contained in:
parent
8d1796904f
commit
d8ced96b72
@ -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))
|
||||
|
Loading…
x
Reference in New Issue
Block a user