1
0
Fork 0
mirror of synced 2024-05-03 04:02:28 +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:
for channel in channels:
name = channel["name"]
previous = self.channel_info.get("name")
previous = self.channel_info.get(name)
# There are three statuses, on, remained, and off
# On means they were off previously, but are now online
# Remained means they were on previous, and are still on