Fix nonetype error.

This commit is contained in:
Matthew Stratford 2021-04-27 21:50:44 +01:00
parent 8aa9d9aecf
commit 4a46247c1e

View file

@ -30,7 +30,7 @@ class FileManager:
terminator = Terminator() terminator = Terminator()
channel_count = len(channel_from_q) channel_count = len(channel_from_q)
channel_received = None channel_received = None
last_known_show_plan = [None]*channel_count last_known_show_plan = [[]]*channel_count
next_channel_preload = 0 next_channel_preload = 0
last_known_item_ids = [[]]*channel_count last_known_item_ids = [[]]*channel_count
try: try: