Commit 3e64a104 authored by Mikhail Karnevskiy's avatar Mikhail Karnevskiy
Browse files

Expect a list of metadata streams

parent fb3972fa
......@@ -50,7 +50,7 @@ def get_new_stream(stream, receiver_stream_list, metadata_stream_list,
receiver_stream_list = sorted(receiver_stream_list, key=lambda x: x['timestampCreated'])
receiver_stream_list = [x['name'] for x in receiver_stream_list]
if isinstance(metadata_stream_list, dict):
if isinstance(metadata_stream_list, list):
metadata_stream_list = [x['name'] for x in metadata_stream_list]
if 'basename' in naming_scheme:
if sender_stream_list is None:
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment