Skip to content
Snippets Groups Projects
Commit dd989ca5 authored by David Huss's avatar David Huss :speech_balloon:
Browse files

Basic implementation of protected streams

parent 99150746
No related branches found
No related tags found
No related merge requests found
...@@ -388,6 +388,7 @@ class StreamList(): ...@@ -388,6 +388,7 @@ class StreamList():
This is a mechanism to permanently "reserve" certain stream keys This is a mechanism to permanently "reserve" certain stream keys
""" """
for stream in config["stream"]: for stream in config["stream"]:
assert(type(stream), dict)
# Parse the values from the configs # Parse the values from the configs
name = none_if_no_key_value_otherwise(stream, key="name") name = none_if_no_key_value_otherwise(stream, key="name")
password = none_if_no_key_value_otherwise(stream, key="password") password = none_if_no_key_value_otherwise(stream, key="password")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment