Skip to content
Snippets Groups Projects
Commit 756cae0c authored by Adam Radziszewski's avatar Adam Radziszewski
Browse files

fix channel name assertion

parent 85153628
No related merge requests found
......@@ -37,8 +37,8 @@ from operator import itemgetter as ig
def get_layers(conf):
layers = [(k, v.split(',')) for (k, v) in conf.items(config.S_LAYERS)]
for layer in layers:
assert '-' not in layer, 'hyphens are not allowed in channel names'
for name, _ in layers:
assert '-' not in name, 'hyphens are not allowed in channel names'
return layers
def is_input_tagged(conf):
......
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