minor fix
This commit is contained in:
@@ -27,7 +27,7 @@ def main():
|
|||||||
sources = ndi.find_get_current_sources(ndi_find)
|
sources = ndi.find_get_current_sources(ndi_find)
|
||||||
if len(sources) > 0:
|
if len(sources) > 0:
|
||||||
new_source = random.choice(sources)
|
new_source = random.choice(sources)
|
||||||
print('routing to %s \n' % new_source.ndi_name)
|
print('routing to %s' % new_source.ndi_name)
|
||||||
ndi.routing_change(ndi_routing, new_source)
|
ndi.routing_change(ndi_routing, new_source)
|
||||||
else:
|
else:
|
||||||
ndi.routing_clear(ndi_routing)
|
ndi.routing_clear(ndi_routing)
|
||||||
|
|||||||
Reference in New Issue
Block a user