1
0
Fork 0
mirror of synced 2024-05-17 19:12:33 +12:00

Base on the actual stream name, not the string 'name'

This commit is contained in:
phxntxm 2019-01-29 00:03:22 -06:00
parent 6269510bf9
commit ec0fa5509d

View file

@ -42,7 +42,7 @@ class Picarto:
if channels: if channels:
for channel in channels: for channel in channels:
name = channel["name"] name = channel["name"]
previous = self.channel_info.get("name") previous = self.channel_info.get(name)
# There are three statuses, on, remained, and off # There are three statuses, on, remained, and off
# On means they were off previously, but are now online # On means they were off previously, but are now online
# Remained means they were on previous, and are still on # Remained means they were on previous, and are still on